After upgrade Xamarin Git package, Cursor of Xamarin.UWP APP runs in Windows 10 react improperly. You just cann't click Button even the cursor is just above the Button. The Button is in ScrollView.
Before scroll, everything is OK. The color of Button changed to bright gray when Cursor hover over, and can click
After scroll, the Button don't response to the hover of cursor, and can not click
If you move the cursor lower to some extent,the Button response to the hover of cursor, and click is vaild
_Obvirouly, the offset exist._
Button response to cursor.
Button do not response to cursor properly.
Example code:
examplecode.txt
perhaps related to https://github.com/xamarin/Xamarin.Forms/issues/11106
Hum, something weird here, i can't reproduce, can you take a look at this sample @evolcano see what i m missing.
Thanks
Hi, @rmarinho
Thank you!
Issue11106_11174.zip is fine on my computer. The only difference which I could found is the TargetPlatformVersion of UWP Project:
1.Issue11106_11174
2. My example project
According to #11106 which samhouts mentioned before, maybe Windows 10, version 1903 (10.0; Build 18362) cause the error due to ScrollView. But the scroller is OK just one week before.
ps: my test solution
I also can't click buttons in UWP. Eventhandler is not fired at all as breakpoint is not hit.
I use NavigationPage, no Shell and have a Grid Layout inside a ScrollView. On a different page without ScrollView, the click event is fired and clickedhandler is called.
MinVersion: 16299/Target: 19041, XF 4.6 SR4 worked, upgraded to 4.7 and it is broken.
@MagicAndre1981 It turns out like after upgrade Xamarin, as long as you use a ScrollView and scrolled, the Y coordinate of Cursor is mis-culculated, The offset maybe relate to ScrollView scrolled.
Thanks we identified the issue and working for a fix ASAP
for me it works with 4.7 SR1
closed by #11207
Most helpful comment
Thanks we identified the issue and working for a fix ASAP