-
-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swipe-to-dismiss on sheets can sometimes dismiss the parent sheet #10417
Comments
I took a stab at reproducing it in the PWA and had no luck. Any inclination of apple vs android phones and or browsers? |
We've had reports from both but I can't reproduce on iPhone. I bought a Samsung phone to try and see if that's easier to repro on. |
The only think I could see as a maybe was the velocity capture point where we hide the sheet if the downward velocity is fast enough. It is possible to drag the sheet close from clicking anywhere as the drag handle is on the container. I could actually get that to trigger and close the sheet via dragging an item in it, but I couldn't replicate the behaviour reported exactly. I had to be very deliberate and it also only closed the mod sheet (I was using edit loadout + add mods). |
Yeah, I'm not as worried about "it's too easy to close the sheet", I'm worried about closing one sheet also closing its parent. |
Yeah agreed |
My current hypothesis is that Safari buffers up scroll events while the page is blocked with updating elements, and then when it unblocks Safari dispatches those events as if they'd happened to the underlying elements. Perhaps there's some information on the event itself that we could use to check to see if it's still relevant. Again, having a consistent repro would really help with fixing this. |
We've had multiple reports that people who are vigorously scrolling in a scrollable sheet will see that sheet dismiss - and dismiss the parent sheet as well. The common complaint seems to be the loadout editor and the mod selection sheet - people scroll mods and it dismisses the loadout sheet entirely, losing the in-progress loadout. This is clearly a bug but it has been hard to reproduct.
Linking #9903
The text was updated successfully, but these errors were encountered: