You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When positioned with Popper, fallback placement for dropdown seems wrong.
Current behavior (Flipped with top placement)
Expected behavior (Flipped with top-end placement)
Because the changes made in #32405 override the Popper's default value for fallbackPlacement that is [oppositePlacement]. By default Popper places the element to the opposite side (like bottom-end => top-end and bottom => top).
Now Popper can place the element to the specified positions only:
When positioned with Popper, fallback placement for dropdown seems wrong.
(Flipped with top placement)
(Flipped with top-end placement)
Because the changes made in #32405 override the Popper's default value for
fallbackPlacement
that is[oppositePlacement]
. By default Popper places the element to the opposite side (likebottom-end
=>top-end
andbottom
=>top
).Now Popper can place the element to the specified positions only:
bootstrap/js/src/dropdown.js
Lines 311 to 316 in 122b2bd
But these changes are good for Tooltip/Popover (Because they are not placed to the edges of the reference element)
The text was updated successfully, but these errors were encountered: