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

minScrollWidth calc wrong when not autoHeight and no vertical scroll #452

Closed
Ashiria7 opened this issue Aug 16, 2023 · 1 comment
Closed

Comments

@Ashiria7
Copy link

Versions

package version
react X.Y.Z
rsuite-table X.Y.Z

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?

https://codesandbox.io/s/reverent-haze-qtyj6t?file=/index.js

Any additional comments? (optional)

use virtualized table so need a fixed height, but context height less than table height there will be blank after last not fixed column. I have clone the repo and find the calculateTableContentWidth in src/utils/useTableDimension use autoHeight judge. It should replace by contentHeight.current > tableHeight.current like calculateTableContextHeight did

@Ashiria7
Copy link
Author

duplicate with #451

@Ashiria7 Ashiria7 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
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

Successfully merging a pull request may close this issue.

1 participant