-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] PanGestureRecognizer in a Shell app doesn't trigger correctly on Android #6060
Comments
Reproduces as described. |
I'm having the same issue - I think - with the If you were to debug and write the TotalY values to console and drag slowly you will see that it can go to approx +/- 7.1 on the Y axis before it stops working. |
Likely related to #5205. Touch events are being intercepted improperly. |
Shell IssueJust tested inside an AppShell item content page using Device: Samsung Galaxy A70 (Android Pie 9.0) However, if the |
Android pages are by default inside a nested scrollview which is going to interfere with gestures |
Description
I've built a screen for David Ortinau's Xappy app (which uses Shell) that has a hidden panel on the bottom that can be dragged into view. However, on Android I've noticed that the PanGestureRecognizer used for dragging the view on screen doesn't respond to gestures as it should.
Steps to Reproduce
Please see Reproduction Link for a repo + steps to reproduce within that Repo.
Expected Behavior
The panel should drag into screen seeing as how the GestureRecognizer is used to offset it's Y position.
Actual Behavior
Seems like the GestureRecognizer is only firing incidentally and not as continuous as it should.
Basic Information
Reproduction Link
You can use my branch of David Ortinau's Xappy project which has the problem in it.
https://github.com/sthewissen/Xappy
Now, change this line of code in
App.xaml.cs
, running the page without Shell:Into:
The text was updated successfully, but these errors were encountered: