0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site
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
..
assets docs: SVG consistency changes (#32259) 2020-12-10 11:48:14 +02:00
content Tooltip/popover - change the default value for fallbackPlacements (#32437) 2020-12-14 20:51:14 +02:00
data docs: Add Korean translation (#32284) 2020-12-10 11:24:02 +02:00
layouts docs: SVG consistency changes (#32259) 2020-12-10 11:48:14 +02:00
static Revert v5.getbootstrap.com changes 2020-12-07 18:18:16 +02:00
.eslintrc.json Switch to String.includes() 2020-11-14 15:54:50 +02:00