-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Can't click Button in Xamarin.UWP for cursor offset exist #11174
Comments
perhaps related to #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 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 |
Description
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.
Steps to Reproduce
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.
Expected Behavior
Button response to cursor.
Actual Behavior
Button do not response to cursor properly.
Basic Information
Screenshots
Reproduction Link
Example code:
examplecode.txt
Workaround
The text was updated successfully, but these errors were encountered: