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
In order to align Bootstrap with popperJS behavior, is it possible to implement the same placement configuration ?
The Bootstrap list of accepted placements is : auto, top, right, bottom, left.
In PopperJS each placement (except auto) can have a variation from this list : *-start, *-end
A first work has been done but not yet validated : #23940
The idea is good but the placement names do not match, and the behavior on display either.
I think placement names must be the same than PopperJS.
For display, the existing placements are good, but their variants must be updated like PopperJS, ie tooltips and popovers must aligned with the targetted element and arrows must be placed correctly. https://popper.js.org/index.html#example4
top-start : tooltip/popover align with the left side of the targeted element, and arrow placed to the left, if the tooltip/popover is bigger than the targeted element, it may overtake to the right
top-end : tooltip/popover align with the right side of the targeted element, and arrow placed on the right, if the tooltip/popover is bigger than the targeted element, it may overtake to the left
right-start : tooltip/popover align with the top side of the targeted element, and arrow placed on the top, if the tooltip/popover is bigger than the targeted element, it may overtake on the bottom
right-end : tooltip/popover align with the bottom side of the targeted element, and arrow placed on the bottom, if the tooltip/popover is bigger than the targeted element, it may overtake on the top
bottom-start : same as top-start
bottom-end : same as top-end
left-start : same as right-start
left-end : same as right-end
PopperJS variants has the same behavior than flexbox alignements (flex-start & flex-end)
The text was updated successfully, but these errors were encountered:
Hi
The placement name are different because the placement is different from the PopperJS way.
In https://github.com/FCOO/bootstrap-popover-extensions/issues/1 there are some images displaying the different
But it would be possible to extend it with top-start, top-end,...left-end
In order to align Bootstrap with popperJS behavior, is it possible to implement the same placement configuration ?
The Bootstrap list of accepted placements is : auto, top, right, bottom, left.
In PopperJS each placement (except auto) can have a variation from this list : *-start, *-end
A first work has been done but not yet validated : #23940
The idea is good but the placement names do not match, and the behavior on display either.
top-start : tooltip/popover align with the left side of the targeted element, and arrow placed to the left, if the tooltip/popover is bigger than the targeted element, it may overtake to the right
top-end : tooltip/popover align with the right side of the targeted element, and arrow placed on the right, if the tooltip/popover is bigger than the targeted element, it may overtake to the left
right-start : tooltip/popover align with the top side of the targeted element, and arrow placed on the top, if the tooltip/popover is bigger than the targeted element, it may overtake on the bottom
right-end : tooltip/popover align with the bottom side of the targeted element, and arrow placed on the bottom, if the tooltip/popover is bigger than the targeted element, it may overtake on the top
bottom-start : same as top-start
bottom-end : same as top-end
left-start : same as right-start
left-end : same as right-end
PopperJS variants has the same behavior than flexbox alignements (flex-start & flex-end)
The text was updated successfully, but these errors were encountered: