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

table组件嵌套子表格,设置scroll.y之后展示问题 #48715

Open
TinyD0409 opened this issue Apr 30, 2024 · 0 comments
Open

table组件嵌套子表格,设置scroll.y之后展示问题 #48715

TinyD0409 opened this issue Apr 30, 2024 · 0 comments

Comments

@TinyD0409
Copy link

Reproduction link

https://codepen.io/TinyD-the-bashful/pen/gOyJpvR?editors=0010

Steps to reproduce

表格设置了 scroll={{ x: 'max-content' }},同时子表格设置scroll={{ y: 300 }}

What is expected?

宽度正常,或者经设置宽度后正常

What is actually happening?

出现子表格宽度1e 06px现象

Environment Info
antd 5.16.4
React react18
System 14.1.2
Browser chrome 123.0.6312.87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant