()
| 117 | } |
| 118 | |
| 119 | export const canForceTakeFocus = () => { |
| 120 | if (!CAN_USE_DOM) return true |
| 121 | const activeElement = document.activeElement |
| 122 | if (isEditableDOMElement(activeElement)) return false |
| 123 | return true |
| 124 | } |
| 125 | |
| 126 | export const inAbsoluteDOMElement = (value: any): boolean => { |
| 127 | if (isDOMHTMLElement(value)) { |
no test coverage detected