mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Fix Popper preventOverflow boundary config (#32845)
Currently, the boundary config is being assigned to the wrong var (`rootBoundary`) in the popper config. It should be assigned to the `boundary` var in popper's config. Ref: https://popper.js.org/docs/v2/utils/detect-overflow/#boundary
This commit is contained in:
parent
b376a3d80d
commit
d63a922436
@ -318,7 +318,7 @@ class Dropdown extends BaseComponent {
|
|||||||
name: 'preventOverflow',
|
name: 'preventOverflow',
|
||||||
options: {
|
options: {
|
||||||
altBoundary: this._config.flip,
|
altBoundary: this._config.flip,
|
||||||
rootBoundary: this._config.boundary
|
boundary: this._config.boundary
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -509,7 +509,7 @@ class Tooltip extends BaseComponent {
|
|||||||
{
|
{
|
||||||
name: 'preventOverflow',
|
name: 'preventOverflow',
|
||||||
options: {
|
options: {
|
||||||
rootBoundary: this.config.boundary
|
boundary: this.config.boundary
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user