You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Double clicking the trigger icon of the menu throws:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
See also attachment at the end.
Steps to Reproduce
npm start
Go to OverflowMenu component
Click on the icon one time
Click on the icon again
Error will come up
Expected behavior: No error Environment details: macOS 10.15.4, all browsers
Possible Solution
Removing onBlur will resolve it. Is it needed? Outside click and list selection will also close it.
The text was updated successfully, but these errors were encountered:
michaelx
changed the title
OverflowMenu unmounted state update
OverflowMenu onBlur causes unmounted state update
Apr 22, 2020
Bug Report
Prerequisites
For more information, see the
CONTRIBUTING
guide.Versions
precise-ui:
1.2.0
node:
12.13.1
npm:
6.12.1
Description
Double clicking the trigger icon of the menu throws:
See also attachment at the end.
Steps to Reproduce
OverflowMenu
componentExpected behavior: No error
Environment details: macOS 10.15.4, all browsers
Possible Solution
Removing
onBlur
will resolve it. Is it needed? Outside click and list selection will also close it.The text was updated successfully, but these errors were encountered: