In regards to the issue: https://github.com/twbs/bootstrap/issues/32947 It would be nice if this could be solved with a simple data attribute by exposing a data attribute for popper for `strategy`, like `data-bs-strategy`. Popper documentation: https://popper.js.org/docs/v2/constructors/#strategy Example using existing javascript: https://jsfiddle.net/4gpy025q/1/ Thanks