Bootstrap 4 - how does automatic Popover re-positioning work?

前端 未结 2 1426
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-23 22:56

I like letting my popovers stay open until the user explicitly closes them.

One of the nice features of the new Bootstrap Popovers is that they automatically re-position

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 23:15

    I don't know how the logic work behind that because on Bootstrap we use Popper.js to handle that so if you want to understand the logic behind that you can browser this : https://github.com/FezVrasta/popper.js

提交回复
热议问题