Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换每页数量的select的下拉框定位不准确 #472

Open
food-billboard opened this issue Dec 3, 2022 · 0 comments
Open

切换每页数量的select的下拉框定位不准确 #472

food-billboard opened this issue Dec 3, 2022 · 0 comments

Comments

@food-billboard
Copy link

food-billboard commented Dec 3, 2022

最小复现

复现地址

发生情况

pagination的祖先元素设置了transformscale时,每页数量的下拉框的定位不准确

解决

经过源码调试,只需要简单去除Select组件上的{ getPopupContainer: (triggerNode) => triggerNode.parentNode }即可。
已提交PR

但是为什么源码当中有这么一个默认的选项,还不是很清楚。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant