flip |
boolean |
true |
Allow Dropdown to flip in case of an overlapping on the reference element. For more information refer to Popper's flip docs. |
boundary |
string | element |
'scrollParent' |
Overflow constraint boundary of the dropdown menu. By default it's 'clippingParents' and can accept an HTMLElement reference (JavaScript only). For more information refer to Popper's preventOverflow docs. |
reference |
string | element | object |
'toggle' |
Reference element of the dropdown menu. Accepts the values of 'toggle', 'parent', an HTMLElement reference or an object providing getBoundingClientRect. For more information refer to Popper's constructor docs and virtual element docs. |
display |
string |
'dynamic' |
By default, we use Popper for dynamic positioning. Disable this with static. |
popperConfig |
null | object |
null |
To change Bootstrap's default Popper config, see Popper's configuration |