bootstrap/site/content/docs
Rohit Sharma 042a4a255f
Tooltip/popover - change the default value for fallbackPlacements (#32437)
The default Popper `fallbackPlacements` value is `[oppositePlacement]`.

- The default value was previously (in v4) `'flip'` that can be achieved by passing the single value in the array, like — `[oppositePlacement]`. Keeping `null` also sets the `fallbackPlacements` to `[oppositePlacement]` (Default value in Popper)
- It's better to have **clockwise** (`['top', 'right', 'bottom', 'left']`) fallback options so that tooltip/popover can be placed to another side even if the opposite placement doesn't fit.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-14 20:51:14 +02:00
..
5.0 Tooltip/popover - change the default value for fallbackPlacements (#32437) 2020-12-14 20:51:14 +02:00
_index.html Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
versions.md Tweak versions page columns (#31754) 2020-09-28 12:40:34 +03:00