opentiny / ng

Angular UI components library.
https://opentiny.design/tiny-ng
MIT License
106 stars 10 forks source link

[Bug]: ti-actionmenu组件,如果数据接近浏览器底部,且有两层及以上按钮的话,会出现长空白框的样式问题 #27

Open Valyria1995 opened 10 months ago

Valyria1995 commented 10 months ago

Version

1.0.0-beta.2

Angular Version

13.3.0

Link to minimal reproduction

https://opentiny.design/tiny-ng/components/actionmenu

Step to reproduce

1、按钮层数两层以上,即配置项含有children 2、按钮接近浏览器底部,可以通过F12模拟 3、两层按钮(含有children的按钮)在比较靠上的位置,鼠标悬浮在两层按钮上,显示出第二层按钮,此时二级按钮无论有多少个,弹出框都会与底部对齐,导致二层按钮较少时出现大片空白框。

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response