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
keepTogether doesn't avoid popper from float away from its reference element #75
Comments
Thanks, something is definitely wrong. Gonna fix it ASAP |
Ok it was a problem with the CDN, the gh-pages was asking for the latest version of popper.js, and so the demo page switched to the v1.0.0-apha.2 version, but the demo page is not yet updated to use this version. Now I forced the page to use the v0.* Update: This is a real bug in v1!!! |
Reopening since this is an actual bug with the version 1. We modified Two possible solutions:
Solution 1 is much easier, but probably 2 is the way to go on long term. @AndreaScn @nadiam84 thoughts? |
@AndreaScn assigning it to you since #59 have been closed in favor of this one. If you can find some time to work on this it would be really awesome, this is a critical high priority issue to be able to release v1. |
For me it feels like the fix should be in keepTogether modifier, since it's responsible for the 'keep together' behavior. Logically. So I vote for the solution 1. :) |
Solution 1 is more a patch than a solution. We'll still have to implement the |
I'm working on it, almost done. The flip modifier now detects the flip needs checking the boundaries (smart method) instead of relying on preventOverflow. |
Fixed on |
CodePen demo
No codepen needed, problem reproducible on https://popper.js.org/
Steps to reproduce the problem
What is the expected behavior?
The "Popper on bottom" popper to flow smoothly
What went wrong?
It has some weird jankyness
Any other comments?
Not sure if its a huge issue or not but thought I'd bring it to your attention.
Happening in Chrome Version 52.0.2743.116 (64-bit) on Mac OSX 10.11.4 scrolling with touch gestures on a Mac Magic Trackpad.
Give me a yell if you need any help reproducing. (Love this library btw, looking into the v1 docs now!)
The text was updated successfully, but these errors were encountered: