-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Dropdown dynamic offset v4 #24204
Comments
romanlex
changed the title
Dropdown position dynamic offset v4
Dropdown offset dynamic offset v4
Oct 2, 2017
Popper.js already handle that for you 👍 EDIT: Hmm sorry I misunderstood your question @romanlex, I'm not sure if Popper.js handle to change the offset dynamicly, maybe a simple you can try : this.$parentUl.siblings('.dropdown-toggle').dropdown('dispose').dropdown({
offset: '-100'
}) |
that's true currently we only accept : |
Related to : #24223 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I'm trying change dynamically position of the dropdown menu. My code is not work ((( How I can calculate and change position of dropdown dynamically before dropdown is showing?
Example, I trying change data attr of element data-offset on show.bs.dropdown or shown.bs.dropdown
The text was updated successfully, but these errors were encountered: