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
VerticalOffset are not reset to 0 when ItemSource is cleared or items are removed. However, after adding items back to the ItemSource, the offset values update correctly when scrolling.
Steps to Reproduce
Run the attached sample.
Click the Fill button.
Click the Empty button.
Check the VerticalOffset value after clearing. It does not reset to zero.
Expected: Offsets reset to 0 after clearing items from ItemSource.
Actual: Offsets retain old values when items are cleared or removed but update correctly after items are added back and scrolling occurs.
Description
VerticalOffset are not reset to 0 when ItemSource is cleared or items are removed. However, after adding items back to the ItemSource, the offset values update correctly when scrolling.
Steps to Reproduce
Expected: Offsets reset to 0 after clearing items from ItemSource.
Actual: Offsets retain old values when items are cleared or removed but update correctly after items are added back and scrolling occurs.
Screen.Recording.2024-12-24.at.3.21.59.PM.mov
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
macOS, iOS
Affected platform versions
iOS 18.0, mac 15.1
Did you find any workaround?
No response
Relevant log output