palantir/blueprint
Vedi su GitHubTable not rendering additional rows if min-height is greater than the current table height
Open
#5101 aperta il 18 gen 2022
P2Package: tableType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
Environment
- Package version(s): 3.9.13
- Operating System: MacOS
- Browser name and version: Chrome 97.0.4692.71
Code Sandbox
https://codesandbox.io/s/serverless-snow-4dhos
Steps to reproduce
- Set the min-height on the table to something like 30vh
- Start with an empty data set
- Add rows one at a time with some external process (for me it was socket.io, the sandbox is just adding them in a loop)
Actual behavior
Rows 1 to 6 are displayed as expected, then further rows are not rendered until you click and scroll down with a mouse or until the row height exceeds the min-height css setting
Expected behavior
New rows should be rendered regardless of min-height css setting.
Workaround
Seems to be fine if min-height css setting is not used and the table must grow in height for each added row.
Also I don't seem to see this issue if only height css setting is used.