https://codepen.io/Justineo/pen/QaypBM
placement set to bottom-start#pop)Provide a way to apply flip when the popper is placed outside the container rather than shift it. (Like #pop2 in the CodePen demo.)

Sometimes we want to flip the popper when it's outside the container, not when it overlaps with the reference element.
I've looked into how popper handles this now, but not sure how to handle this.
I'm facing this same problem when trying to implement a navigation menu.
I've tried setting the flip behavior but it doesn't work as expected when the popper element overflows on the right side:
{
placement: 'bottom-start',
modifiers: {
flip: {
behavior: ['bottom-start', 'bottom-end']
}
}
}
In this shot the "Dropdown" in the top bar is the reference, and the expanded drop down menu is the popper element.

Similar issue (another example):
{
placement: 'bottom-start',
modifiers: {
flip: {
behavior: ['bottom-start', 'bottom-end']
}
}
}

@arechsteiner setting the boundariesElement to viewport will make sure the whole popper is shown
{
placement: 'bottom-start',
modifiers: {
preventOverflow: {
boundariesElement: 'viewport'
}
}
}
setting the boundariesElement to viewport will make sure the whole popper is shown
It's not the desired behavior. This will shift the popper element to the left but we want its right border to align with the right border of the reference element (flip instead of shift).
@Justineo Yep I understand it's not the desirable behaviour but @arechsteiner it will atleast show all the content.
@FezVrasta any news about this feature?
Most helpful comment
I'm facing this same problem when trying to implement a navigation menu.
I've tried setting the flip behavior but it doesn't work as expected when the popper element overflows on the right side:
In this shot the "Dropdown" in the top bar is the reference, and the expanded drop down menu is the popper element.