Skip to content
Discussion options

You must be logged in to vote

Hi!

The drawn scroll always keeps its position, from what i can fast-remember it would reset it only if:

  • observable collection sent NotifyCollectionChangedAction.Reset - your specific case, this is what causing this.
  • scroll property ResetScrollPositionOnContentSizeChanged was set to True (not default) and content size changed

You could refresh the recycled scroll without changing position:

  • call myCellsStack.ApplyItemsSource(); with latest preview nuget (xxx.9-pre) - just refresh all, same source
  • Difference source: Observablecollection should send Replace instead of Reset
  • Different source: change ItemSource to another reference

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bnSonic
Comment options

Answer selected by bnSonic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #192 on July 05, 2025 16:07.