"Pull to refresh" is triggered on reddit.com while the modal dialog "See this post in Reddit app ..." is visible
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Not tracked)
People
(Reporter: hiro, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Keywords: webcompat:contact-ready, webcompat:needs-sitepatch, webcompat:platform-bug)
User Story
platform:android impact:annoyance configuration:general affects:all
I am splitting the reddit.com case out from bug 1882040, it's slightly different for me. Indeed the reddit case will also be fixed by blocking pull-to-refresh if <body> has overflow-y:hidden
, I have a different perspective.
Here's another one: https://www.reddit.com/r/firefox/comments/1de7bu1/were_the_firefox_leadership_team_at_mozilla_ama/
When the page first loads, and reddit shows the modal overlay to use the app, we allow pull-to-refresh and Chrome doesn't. I was trying to make the modal disappear by swiping it down, and accidentally refreshed the page.
While the modal is visible, the body element has style="pointer-events: none; overflow: hidden;".
Reporter | ||
Comment 1•5 months ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #0)
While the modal is visible, the body element has style="pointer-events: none; overflow: hidden;".
Here, they explicitly set pointer-events: none
, I don't quite understand why they need it, I guess what they actually wanted to do is touch-action: none
? If they used touch-action: none
, pull-to-refresh is in fact prevented.
Description
•