-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] ScrollView UWP bug in 4.7.0.968! #11106
Comments
I can confirm. Every ScrollView on UWP is now broken. |
Confirm. We have the same problem on UWP. |
I have created a repro sample using a ScrollView with a StackLayout inside and a good number of Entries. I'm testing but can't reproduce the wrong behavior: Using Xamarin.Forms 4.7.0.968. @mohitatray Could you take a look to the sample? |
@mohitatray @activa @pitMobile can you try the sample above to see if we can get a reproduction , i also tried and seems to be working fine the focus. |
Hi @jsuarezruiz,
Try running your sample targeting newer platform SDK 'Windows 10, version 1903 (10.0; Build 18362)'. That's the only difference I can see between the sample running on your PC and my PC. |
@mohitatray Thanks for the detailed feedback. Now I can reproduce the issue. |
Yep also seeing this bug on UWP |
This has been an issue for me too, I downgraded the version of Xamarin.Forms so I can work normally. |
This is my form that doesn't work properly with the 4.0.6.968 version of Xamarin.Forms |
Thanks , we identified the issue and working on a fix for it asap. |
#11174 is related |
I have 2 horizontal Listview using SfListview on my app and In uwp when I click one other one is selected. even sometimes randomly selecting another button, item in the view. it is probably related to this. |
Forced to upgrade to 4.7 due to issue with pickers inside ScrollView. Having upgraded to 4.7, every ScrollView is now broken. This is a critical bug that needs fixing asap. Don't really want to downgrade to 4.4 or below, but it looks like I might have to. As three point releases in a row (4-5 - 4.7) all break on UWP with issues around ScrollView. |
I have the same problem. Downgrading is solving it... By the way: On lower versions I still have the problem, that if I scroll down and than click or tab on an area without controls, the scrollview is scrolling all the way up again ... same happens with pickers. |
@Hopfenspirger That's a bug that has been around for ages. See #10420 |
@activa oh ok this is maybe different issue but there is bigger issue with scrollviews and listviews in general with 4.7 independent from entry. |
closed by #11207 |
upgrading to 4.7.0.1080 worked for me...so far. |
Description
I recently upgraded my NuGet package from Xamarin.Forms 4.6.0.967 to 4.7.0.968. Microsoft.UI.Xaml package also got upgraded in the process (the issue may be due to Microsoft.UI.Xaml package upgrade). I was working on a UWP and WPF app. I have some Entry, DatePicker and Picker elements inside a FlexLayout in ScrollView. Before the update, it was working fine but when I updated Xamarin.Forms, the scroll view is not working as expected.
When I scroll down and click an entry, the entry is not focused. Some entry above it is focused. It looks like when I scroll down, the actual view scrolls down but the pointer events are not passed to the view at the current position. Instead pointer events are passed to the upper views as if scroll position in ScrollView is not changed (0).
Steps to Reproduce
Expected Behavior
The Entry clicked should get focus.
Actual Behavior
Nothing happens or sometimes the Entry somewhere above the clicked entry gets focus.
Basic Information
The text was updated successfully, but these errors were encountered: