offset |
number | string | function |
0 |
Offset of the dropdown relative to its target. For more information refer to Popper.js's offset docs. |
flip |
boolean |
true |
Allow Dropdown to flip in case of an overlapping on the reference element. For more information refer to Popper.js's flip docs. |
boundary |
string | element |
'scrollParent' |
Overflow constraint boundary of the dropdown menu. Accepts the values of 'viewport' , 'window' , 'scrollParent' , or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs. |
reference |
string | element |
'toggle' |
Reference element of the dropdown menu. Accepts the values of 'toggle' , 'parent' , or an HTMLElement reference. For more information refer to Popper.js's referenceObject docs. |
display |
string |
'dynamic' |
By default, we use Popper.js for dynamic positioning. Disable this with static . |