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
On Windows, when using [ItemsUpdatingScrollMode.KeepLastItemInView] with a CollectionView, the view does not consistently scroll to the last item after inserting new items at the top. Instead, it scrolls to the second-to-last item. The last item becomes visible only after manually scrolling to the bottom. This behavior is inconsistent in certain scenarios. If the visible content is already at the topmost position and new items are added at the top, the CollectionView scrolls to the second-to-last item instead of the last item. However, if the user scrolls to a certain position and then adding items, the CollectionView correctly scrolls to the last item.
Description
On Windows, when using [ItemsUpdatingScrollMode.KeepLastItemInView] with a CollectionView, the view does not consistently scroll to the last item after inserting new items at the top. Instead, it scrolls to the second-to-last item. The last item becomes visible only after manually scrolling to the bottom. This behavior is inconsistent in certain scenarios. If the visible content is already at the topmost position and new items are added at the top, the CollectionView scrolls to the second-to-last item instead of the last item. However, if the user scrolls to a certain position and then adding items, the CollectionView correctly scrolls to the last item.
Screen.Recording.2025-04-25.194804.mp4
Steps to Reproduce
Expected Behavior:
Actual Behavior:
If the visible content is at the topmost position, the CollectionView scrolls to the second-to-last item instead of the last item.
If the user scrolls to a certain position and then adding items, the CollectionView correctly scrolls to the last item.
Link to public reproduction project repository
No response
Version with bug
9.0.60 SR6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output