question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError on unmounting

See original GitHub issue

Since 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:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
allexysleepscommented, Jun 5, 2018

This is actually is reproducing on 0.8.7 as well

3reactions
xiaolincommented, Jun 14, 2018

This is fixed in v0.8.9 that was just released.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found