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.

HandleWindowClick Listener Chrome 74 errors

See original GitHub issue

After upgrading Chrome to version 74 today began to get very inconsistent failures dealing with HandleWindowClickListener occasionally failing in several places, resulting in a white screen of death. It seems at some point when the event listeners attempt to remove themselves, failures will occur in this area of the code:

(0, _handleWindowClickListeners2.default)(this._handleOutsideClick, false);

This has happened for us in both the Layover’s componentWillUnmount, as well as the DateContainer’s ComponentDidUpdate

Exact error thrown is the following: “TypeError: Cannot convert undefined or null to object”

Images/Screenshots

Link to a gist or code sample where the issue can be reproduced

Unfortunately reproducing the issue is difficult. Best pattern we’ve found is a page with many autocompletes, and selecting items for multiple of them. Eventually the error is generally thrown. Frequently refreshing the page prevents the issue from reproducing as far as we can tell.

Version

  • React - 16.7.0
  • React-MD - 1.8.0
  • Browser - Chrome 74

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mlaursencommented, May 2, 2019

This fix should now be released as 1.10.2.

I also credited you @jacksonStone for the fix here and here. Let me know if you’d like different credit or something else.

0reactions
mlaursencommented, May 2, 2019

@kylewm If this problem still occurs in your app, let me know and I’ll reopen this and try another fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix connection errors - Google Chrome Help
Fix most connection errors. If you go to a website and get an error, try these troubleshooting steps first: Check the web address...
Read more >
What's New In DevTools (Chrome 74)
Open the Network panel. · Click WS to filter out all resources that aren't WebSocket connections. · Click the Name of a WebSocket...
Read more >
How to fix 'Unchecked runtime.lastError: The message port ...
I disabled all installed extensions in Chrome - works for me. I have now clear console without errors.
Read more >
Downloads - ChromeDriver - WebDriver for Chrome
If you are using Chrome version 94, please download ChromeDriver 94.0.4606.41 ... 86 - chromedriver .quit() doesn't seem to pass unload event properly ......
Read more >
ServiceWorkerContainer: error event - Web APIs | MDN
The error event fires when an error occurs in the service worker.
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