0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js
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
..
dist Dist 2020-12-07 18:18:16 +02:00
src Tooltip/popover - change the default value for fallbackPlacements (#32437) 2020-12-14 20:51:14 +02:00
tests Tooltip - Add missing callback in async spec (#32465) 2020-12-14 13:02:34 +02:00
index.esm.js Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00
index.umd.js Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00