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.
The current behavior does not make sense. Neither in UWP nor in mobile. If the behavior of other applications is observed, the correct one is not to scroll to the first element of the form.
Would it be possible to advance the implementation of this issue?
Description
When the Entry control is loaded inside the ScrollView and tapping the empty space of the view, the First entry gets focus in the UWP platform.
I have found a workaround for this issue in the following discussion,
https://stackoverflow.com/questions/42064603/xamarin-forms-scrollview-click-always-sets-focus-on-first-item-of-child-grid
But, this workaround is broken from Xamarin.Forms Version 3.6.
The workaround resolves the issue in XF 3.5.
Steps to Reproduce
Expected Behavior
Focus should be disabled for all entry items.
Actual Behavior
First entry gets focus.
Basic Information
The reported issue does not occur, when adding Entry inside Grid. Please see the video which reproduces the issue.
Screenshots
Video
Reproduction Link
ScrollViewSample
Workaround
1
But, workaround broken from XF 3.5.
2
microsoft/microsoft-ui-xaml#597 (comment) - As discussed in this comment, Duplicating ScrollViewRenderer without IDontGetFocus interface also seems to work.
But, we have our own custom renderer and we cant implement the actual ScrollViewRenderer.
The text was updated successfully, but these errors were encountered: