-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to do escapeWithReference in react-popper 2.3.0 #460
Comments
It's not well documented and is quite confusing because there have been multiple ways to achieve this in past versions, but I think I figured out what is happening in the React Popper (Popper v2.x). The default flip modifier is causing the popper to try to "flip" positions when it falls out of bounds, trying to keep it in the viewport. Explicitly adding/overriding the
|
Thanks, @bradyshutt. I will give it a try and share its outcome 🤞 |
I am trying to migrate the component to use 2.3.0. However, the documentation is excellent so far. There is no reference on how to keep doing
escapeWithReference
.There is information on how it is supposed to behave on https://popper.js.org/docs/v1/#modifierspreventoverflow, but I need clarification on how to persist the original behaviour. Could you give me some guidance on how to do this?
The text was updated successfully, but these errors were encountered: