Unintended entry focus change in `ScrollView`
Description
I can see an unitended change in focus that can be very bothering because it can move user from filling an entry that is vertically far from the first form's entry.
Steps to Reproduce
- Run the sample application
- Click the
Input 7's entry like this: - Click the
Input 7label (!) itself like this: - Focus moves to the
Input 1's entry like this:
-> The step number 4 should not occur or there should be a way to remove it IMO.
Interestingly, commenting out this line https://github.com/MartyIX/MauiRepro202401ScrollJump/blob/4a0919488bdcbdc5d8bc91e64976f0baf6bb7799/MainPage.xaml#L6 fixes the issue. So it looks like the bug is linked to the ScrollView in some way.
Demo:
Link to public reproduction project repository
https://github.com/MartyIX/MauiRepro202401ScrollJump
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
I can't reproduce the issue on Mac Catalyst. Not sure about android.
Affected platform versions
I know that Windows is affected, not sure about other platforms
Did you find any workaround?
Not yet.
Relevant log output
No response
It looks like this bug might be related to this one: https://github.com/microsoft/microsoft-ui-xaml/issues/3825 (not tested, it just kind of sounds similar)
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Duplicate of #11472