Shift your poppers on start or end of its reference element side.
{% highlight javascript %} var shiftStart = new Popper(referenceElement, shiftStartPopper, { placement: 'left-start', }); var shiftEnd = new Popper(referenceElement, shiftEndPopper, { placement: 'bottom-end', }); {% endhighlight %}