Replies: 1 comment
-
That is true, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a virtual list that can get new, dynamically sized items in both directions. We were having a lot of scrolling issues until I realized that the default implementation of
measureElement
, which usesgetBoundingClientRect()
, does not include margins. Switching these margins to padding fixed most of the scrolling issues. Given the gap between items could be accomplished with margins or padding, and the choice is not immediately obvious, is this something that could be highlighted in the documentation? Or could the default implementation include margins?Beta Was this translation helpful? Give feedback.
All reactions