You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has padding #3400
changed the title [-][labs/virtualizer] Virtualizer in a padded container stubbornly asserts size ignoring padding.[/-][+][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has non-zero padding[/+]on Dec 9, 2022
changed the title [-][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has non-zero padding[/-][+][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has padding[/+]on Dec 9, 2022
Activity
usergenic commentedon Nov 1, 2022
Here's the example with no padding in the container:

Here's the example with padding added to the container, see how it's all shifted over instead of padded from both sides:

Here's the example with the suggested fix, but at this width it only fits one column:

But what is more an issue is that virtualizer goes into some kind of update loop which both kills performance and never seems to resolve:
https://user-images.githubusercontent.com/578/199290160-94a81441-68ab-4eb6-923a-159d19be556c.mov
Added a test to demonstrate virtualizer width inheritance bug in #3400
Added changeset describing the fix for #3400.
Added a test to demonstrate virtualizer width inheritance bug in #3400
Added changeset describing the fix for #3400.
[labs/virtualizer] Fix width inheritance calculation (issue #3400) (#…
usergenic commentedon Nov 4, 2022
Fixed in #005c68f
[labs/virtualizer] Fix width inheritance calculation (issue #3400) (#…
Update rethink scroll to (#3482)
[-][labs/virtualizer] Virtualizer in a padded container stubbornly asserts size ignoring padding.[/-][+][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has non-zero padding[/+][-][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has non-zero padding[/-][+][labs/virtualizer] Calculates size incorrectly when a scrolling ancestor has padding[/+]