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
Popover如果浮层渲染在父节点,当有滚动条时,点击打开在文档中间位置的popover时滚动条会滚动到顶部 #21918
Comments
去掉 popover props 中的 |
但是我还需要popover滚动跟随 |
Use |
popover可以了!但是popover里面的select展示不开了,并且select我也想跟随滚动 |
对 Select 也用 |
我这个demo,用trigger.parentNode会使滚动条自动滚到顶部,不是trigger.parentNode的原因~ |
@zhangzhi93 把 Modal 内容区域高度调高一点。 |
和modal高度没关系吧,我找找合适的节点放select吧,popover用 |
Reproduction link
Steps to reproduce
打开modal,点击Click me,滚动条会滚到顶部
What is expected?
滚动条不动
What is actually happening?
点击popover,滚动条会自动滚到顶部
当查看popover的信息时,因为滚动到顶部,就看不到了
The text was updated successfully, but these errors were encountered: