ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Select组件选项弹出后滚动容器,弹出的选项不会跟随滚动,而是悬浮再固定的位置 React的ant没有这个问题

Open tuohuang opened this issue 1 year ago • 1 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.0

Environment

Win11, Edge, Vue3

Steps to reproduce

将一个Select组件放入一个可以滚动的div容器中,然后让select选项弹出 滚动这个div容器,这个时候弹出的选项会一直固定悬浮着,官方 React的Ant没有这个问题

What is expected?

可以跟随滚动,而不是悬浮

What is actually happening?

无法跟随滚动,而是一直悬浮在固定的位置

tuohuang avatar Apr 02 '24 02:04 tuohuang

我看popup类组件基本都有这个问题

akinoccc avatar Apr 26 '24 03:04 akinoccc