stephenwf/use-open-seadragon

React 18.2.0 bug

Opened this issue ยท 4 comments

In React 18.2.0, it seems to generate two div.openseadragon-container.

Costis

I think this will only happen in Strict Mode using a development build of React. A quick workaround would be to remove <React.StrictMode /> from your root component. It should be fixed though.

Geat! Thanks

I'll reopen to track proper R18 support ๐Ÿ‘ thanks for reporting

I will be nice to upgrade to openseadragon 4 ๐Ÿ˜‰