Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前唯一支持的 auto 选项是并且可以选择以and为auto后缀。有可能有类似的东西吗?我想并且也会很好。也许蓝图受到 Popper.js 库的限制?-start-endauto-bottom-left-right
auto
-start
-end
auto-bottom
-left
-right
这是 Popper.js 库的限制。
我认为你能得到的最接近的方法是设置你想要的位置而不是使用auto,然后如果你想要的位置不可能,则依靠修饰符来翻转或重新定位弹出框。