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

【咨询】为什么antd要自己监听滚动,设置table的位置呢? #1035

Open
powerdong opened this issue Oct 18, 2023 · 0 comments

Comments

@powerdong
Copy link

看到 antd 源码有大量的处理 scroll 代码,为什么要这样做?

现状在多列场景下,某列在视窗外,如果基于浏览器的 ctrl + f 搜索,浏览器会默认把检索到的元素出现在视窗。由于antd的逻辑处理,浏览器这块介入不了

https://ant.design/components/table-cn#components-table-demo-fixed-columns

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