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
Describe the bug
When using Autocomplete within an EDS Dialog, this gives the following error message: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
Never mind I tested your create-react-app and it happened instantly when opening dialog. Fortunately it looks like my fix resolved this issue! We'll make a new release of eds-core-react probably today or tomorrow 👍
Describe the bug
When using Autocomplete within an EDS Dialog, this gives the following error message:
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
Steps to reproduce the bug
Sample Code
https://github.com/equinor/tmp-eds-autocomplete-bug (standard create-react-app)
Note that this codesandox with the exact same code works:
https://codesandbox.io/s/thirsty-leakey-v6pmqd?file=/src/App.js
Expected behavior
AutoComplete should work fine. It did work fine in v. 0.31.1 . Upgrading to 0.32.3 introduced the bug.
Specifications
Additional context
Add any other context or screenshots about the bug. An example in CodeSandbox is very helpful
The text was updated successfully, but these errors were encountered: