bootstrap/js/src
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
..
dom SelectorEngine: drop variable used once (#32391) 2020-12-09 15:05:52 +02:00
util Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
alert.js Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
base-component.js Prepare v5.0.0-beta1. 2020-12-07 18:18:16 +02:00
button.js Refactor components to use a utility function to define jQuery plugins (#32285) 2020-12-08 08:16:50 +02:00
carousel.js fix(carousel): switch prev/next directions in RTL 2020-12-14 11:11:47 +02:00
collapse.js Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
dropdown.js Add fallback behaviour 2020-12-09 13:34:51 -08:00
modal.js Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
popover.js Refactor components to use a utility function to define jQuery plugins (#32285) 2020-12-08 08:16:50 +02:00
scrollspy.js Refactor components to use a utility function to define jQuery plugins (#32285) 2020-12-08 08:16:50 +02:00
tab.js Use the ternary operator in a few more places (#32303) 2020-12-11 15:47:34 +02:00
toast.js Remove TRANSITION_END from utils (#32394) 2020-12-10 16:54:50 +02:00
tooltip.js Tooltip/popover - change the default value for fallbackPlacements (#32437) 2020-12-14 20:51:14 +02:00