Uncaught TypeError on unmounting
See original GitHub issueSince v0.8.8, when an image gallery is unmounted, an Uncaught TypeError occurs:
Uncaught TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'.
at image-gallery.js:137
at invokeFunc (index.js:160)
at trailingEdge (index.js:207)
at timerExpired (index.js:195)
I believe it is introduced by adding the debounce in b273f9d0da94.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:15 (7 by maintainers)
Top Results From Across the Web
application 'app1' died in status UNMOUNTING ... - GitHub
When I am navigating from one app to another I am seeing an error in console as well as an overlay on the...
Read more >React-Bootstrap Modal - Error when unmounting from DOM
I am using react-bootstrap modal component. I wish to unmount from the page but experience an error that I am unable to pinpoint...
Read more >Exception when unmounting react component with declared ...
Hello, I have built a react app in TypeScript and I am using the React components provided by Algolia (InstantSearch, Index, Hits etc.)...
Read more >Fix the "Uncaught TypeError: destroy is not a function" Error in ...
It turns out this almost always happens when you try to return anything from your useEffect hook that is not a function.
Read more >Error Boundaries - React
As of React 16, errors that were not caught by any error boundary will result in unmounting of the whole React component tree....
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
This is actually is reproducing on 0.8.7 as well
This is fixed in v0.8.9 that was just released.