Skip to content
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

flip option does not work in dropdown's configuration #33181

Closed
rohit2sharma95 opened this issue Feb 22, 2021 · 0 comments · Fixed by #33198
Closed

flip option does not work in dropdown's configuration #33181

rohit2sharma95 opened this issue Feb 22, 2021 · 0 comments · Fixed by #33198
Labels

Comments

@rohit2sharma95
Copy link
Collaborator

Setting the flip option to false does not prevent the dropdown from being flipped.

Docs: https://getbootstrap.com/docs/5.0/components/dropdowns/#options
Demo: https://jsbin.com/zoviriwovi/edit?html,js,output

Although instead of accepting the boolean value for the flip option it would be good to accept the fallbackPlacements (Without customizing it in Bootstrap's default Popper config) and drop the flip option (Like it is done for tooltip and popover)
But it would be a breaking change (In reality it is not breaking since it is not working already) 🤔

/CC @XhmikosR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant