Answer the question
In order to leave comments, you need to log in
How to disable the static (adaptive) position of the dropdown in Bootstrap4?
Good afternoon everyone!
In bootstrap4 there is such a dropwdown menu:
Please tell me how to disable the automatic positioning of this dropdown when scrolling the page.
For example, when I scroll the page to the bottom, this white dropdown box jumps to the top (above the button and not below it)
How can I turn it off?
data-display="static" doesn't help.
You need this menu to drop down and not move anywhere when you scroll the page.
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Have you tried adding position-relative ?
and in the button data-boundary=""
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" data-boundary="">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question