-
-
Notifications
You must be signed in to change notification settings - Fork 78.7k
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
New feature suggested for Dropdown: able to disable Popper's preventOverflow #25529
Comments
Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details. |
https://codepen.io/anon/pen/QQjKEJ This case use bootstrap 4.0.0 beta3 |
A quick fix would be to add this line on your application : Popper.Defaults.modifiers.preventOverflow = { enabled: false }; See the result here (with our first stable v4) : https://codepen.io/Johann-S/pen/vdNymv?editors=1010 Side note : not possible to do that if you use |
As there is an option "data-boundary" to manage the behavior of the preventOverflow, would you like to disable one Dropdown's preventOverflow feature by given false or null? For example: <button type="button" data-boundary="false" ...>
button
</button> |
They are a PR to disable Popper.js for dropdown : #24092 |
Closing as stale for v4. We'll be moving onto focus entirely on v5 and v4 will only see critical updates. |
Get an issue when using Menu forms with a large form which is supposed to fix itself below the button.
The PreventOverflow feature is good, but we'd disable it in a lot of cases which is impossible when using Dropdown.
Thanks and Best Wishes.
The text was updated successfully, but these errors were encountered: