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

用KeepAlive包裹的路由下面,如果包含antd table组件,那将无法使表格横向滚动,而且表格的宽度超出布局,有人遇到过吗? #280

Open
zhangqiankunai opened this issue Jul 6, 2023 · 2 comments

Comments

@zhangqiankunai
Copy link

用KeepAlive包裹的路由下面,如果包含antd table组件,那将无法使表格横向滚动scroll失效,而且表格的宽度超出布局,有人遇到过吗?

@zhangqiankunai
Copy link
Author

react18版本,哪些闪什么的我还能接受,现在表格不能滚动接受不了啊,antd 4.24版本,scroll 列表失效

@CJY0208
Copy link
Owner

CJY0208 commented Jul 6, 2023

KeepAlive 会给增加两个容器 ka-wrapper 和 ka-keeper,需要注意对他们的样式也做处理,这可能是造成你表格宽度溢出的原因

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

2 participants