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
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
About my comment on the possible cause. That's not the issue, there is another effect a few lines up that does a setOptions. I checked with the debugger and the options are updated, but for some reason the positioning is wrong after an strategy update.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reproduction demo
https://codesandbox.io/s/condescending-mendel-bo6hp?file=/src/App.tsx
Steps to reproduce the problem
strategy
value tousePopper
that depends on a property or statestrategy
value from 'fixed' to 'absolute' and viceversaWhat is the expected behavior?
Changes in strategy should keep the popper visually positioned in the same place.
What went wrong?
The changes in strategy are not correctly reflected.
Any other comments?
I think that a possible cause of this bug may be here:
https://github.com/popperjs/react-popper/blob/master/src/usePopper.js#L117
Because
popperOptions
is not one of the effect dependencies.Packages versions
The text was updated successfully, but these errors were encountered: