palantir/blueprint
Ver no GitHubTable not rendering additional rows if min-height is greater than the current table height
Open
#5.101 aberto em 18 de jan. de 2022
P2Package: tableType: bughelp wanted
Métricas do repositório
- Stars
- (20.263 stars)
- Métricas de merge de PR
- (Mesclagem média 43d 10h) (27 fundiu PRs em 30d)
Description
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.