IE < 11: preact fails with error `Unable to get property 'style' of undefined or null reference`
See original GitHub issueHi @developit! It works fine in IE11 and other browsers. Here’s the minimal repro:
import {DraggableCore} from 'react-draggable'
class extends React.Component {
render() {
return (
<DraggableCore>
<div>handle</div>
</DraggableCore>
)
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
IE10 on Windows 7: every new tab or page opens with a script ...
Error : Unable to get property 'style' of undefined or null reference. I have : reset internet explorer, disabled all addins, ...
Read more >getting this error in ie11: Unable to get property 'options' of ...
Need helping getting this to work in IE11, works fine in chrome. Getting 'Unable to get property 'options' of undefined or null reference'....
Read more >API - esbuild
#Build API. The build API call operates on one or more files in the file system. This allows the files to reference each...
Read more >Migrating from v2 to v3 - Gatsby
reach -router; webpack EACCES; yarn workspaces; Legacy Browser (IE 11 Polyfill) ... This is a reference for upgrading your site from Gatsby v2...
Read more >Preact - Releases
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM ... Upgrade sinon dependencies to fix IE11...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will be fixed in 5.6! Hopefully going out tonight. I’ve set up automated browser testing to make sure we are covered against this in the future.
I’m looking into whether we can move the props/context initialization out of the constructor.