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
Expanded row in scrollable table does not break into lines (commit break) #21596
Comments
If you turn on |
@afc163 I agree with the first sentence only partly. If the table has say is 500px wide unexpanded and the screen is 320px, yes it should show be scrollable. However, if the expanded row is shown, I expect the table to stay 500px wide and not 3000px with a long one line text. Some word-break must be implemented, otherwise the UX is bad and most use cases for expanded rows are useless now. In 3.23.2 I could still scroll left and right and the expanded row remained 500px wide on opening. |
I think you have the point, I tweak it in react-component/table@9d6f5be and released rc-table@6.10.13 Try remove node_modules/yarn.lock/package-lock.json and reinstall it. |
@afc163 now it's perfect! Hope it stays like it is. Congrats on release of 4.0.0, looking forward to migrate. |
Reproduction link
Steps to reproduce
What is expected?
The contents in the expanded row break into lines (like in 3.24.1 or better yet in 3.23.2)
What is actually happening?
The contents in the expanded row display in one line and enlarge the scrollable area to thousands of pixels.
This has been introduced with this commit: #19284
Best behavior was achievable in 3.23.2.
The text was updated successfully, but these errors were encountered: