Problem
When using multiple Menu components I receive the following error:
### Error
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.
- I'm not sure if the error comes from the shoreline or the ariakit used by the shoreline.
- In the example attached I the Menu should appear to the user on hover
Expected behavior
Not show errors
Reproducible Example
https://codesandbox.io/p/sandbox/shoreline-disabled-2jxclc
Suggested solution
No response
Additional context
No response
Package
@vtex/shoreline
Packages version
1.11.18
Browser
No response
Package Manager
pnpm
Problem
When using multiple Menu components I receive the following error:
### Error 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.Expected behavior
Not show errors
Reproducible Example
https://codesandbox.io/p/sandbox/shoreline-disabled-2jxclc
Suggested solution
No response
Additional context
No response
Package
@vtex/shoreline
Packages version
1.11.18
Browser
No response
Package Manager
pnpm