Skip to content

Allow smooth scroll with dynamic size #495

Answered by piecyk
MrZillaGold asked this question in General
Discussion options

You must be logged in to vote

Overall there are few issues when we scroll to index, basic an offset in list where we didn't be before.

  • fist is the issue that offset of the index will change as scrolling, new items will be rendered and real size will change the current measurements done initialy via estimateSize
  • second is when real size is different from estimateSize of items before scroll offset, we need to adjust scroll position with delta to keep the items in place. In chrome it will break the current smooth scroll.

Because of this decided to disable the behavior smooth in dynamic size, change it in latest beta as better just warn users that native smooth scroll is not fully supported than disable it.

Also with la…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MrZillaGold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants