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
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
ScrollView scrolls back to the top whenever tapping an item in StackLayout.BindableLayout in UWP platform. Also, the Scrolled event of the ScrollView is triggered.
This is a very old bug that has already been reported (#5652). There is a workaround that uses a custom renderer to fix this. I have updated the workaround and reflected the recent changes in Xamarin.Forms to it. You can download the renderer in the following post: #5652 (comment).
The workaround does not work if the StackLayout is replaced by custom like SfListView. In this case, the SfListView has its own ScrollView and could not write renderer for the same.
Description
ScrollView scrolls back to the top whenever tapping an item in StackLayout.BindableLayout in UWP platform. Also, the Scrolled event of the ScrollView is triggered.
Steps to Reproduce
Expected Behavior
ScrollView should not scroll to top
Actual Behavior
ScrollView scrolled up
Basic Information
Screenshots
Reproduction Link
ScrollViewIssueSample
Workaround
No.
The text was updated successfully, but these errors were encountered: