Closed amitava82 closed 4 years ago
I'm trying to use this along with react-frame-component. My component is rendered in an iframe. Issue seems to be in following line
var isDOMNode = typeof window !== 'undefined' && input instanceof window.Element; // workaround for react-test-renderer
isDOMNode evaluates to false returning null and throwing Uncaught TypeError: Cannot use 'in' operator to search for 'selectionStart' in null
Uncaught TypeError: Cannot use 'in' operator to search for 'selectionStart' in null
I have the same issue
seems i have same issue in last chrome version library throws error Cannot read property 'addEventListener' of null
Fixed and published as 3.0.0-alpha.1 on npm.
3.0.0-alpha.1
I'm trying to use this along with react-frame-component. My component is rendered in an iframe. Issue seems to be in following line
isDOMNode evaluates to false returning null and throwing
Uncaught TypeError: Cannot use 'in' operator to search for 'selectionStart' in null