Android: Swipe to refresh triggers when address bar is hidden

Created on 8 Aug 2020  路  1Comment  路  Source: duckduckgo/Android

Device: Google Pixel XL
OS: Android 10
DDG Version: 56000

On http://raosrestaurants.com/, the swipe to refresh triggers when it isn't supposed to (see gif below; very easy to reproduce on my device). Possibly related to #638. I've had similar issues on a handful of other sites also. I don't have a way to reproduce the bug on the other sites, but what I can say is that in every instance, the address bar was hidden.

Not sure if it matters, but I would also like to note that the other sites I mentioned, unlike raosrestaurants.com, did not render themselves to fill the WebView and had room to scroll up and down [in the WebView] when the unwanted refresh happened; the bug only happened one time on each site and could not be reproduced. Perhaps a check to see if the address bar is fully docked would fix, or at least mitigate, this issue.

I really don't think this is relevant, but if you wanted to know which other sites I had issues on, I will list them below. Please note that it is _very hard to reproduce on these sites, and likely has nothing to do with the sites themselves_:
https://portal.311.nyc.gov/
https://www.chess.com/
https://www.5dimes.eu
http://cooper.edu/


Edit:

I found two more examples of sites where this bug is easy to reproduce:

reddit.com

  • Go to reddit.com
  • Wait for the site to lose focus, and for the overlay to appear with the bottom dialog asking whether to continue in the Reddit app or with the browser.

linkedin.com

  • Visit LinkedIn profiles until you hit the authwall. (example: https://www.linkedin.com/in/chadchampion a.k.a. "the final boss of LinkedIn")

Both of these examples seem to distill themselves to the base case we saw on raosrestaurants.com (i.e. they fill the WebView)

_End of edit_


Raos

bug

Most helpful comment

Thanks for finding this. Adding a PR suggestion, which fixes the issue and makes the mentioned websites usable. However it's not quite as smooth as Chrome is unfortunately (more on that in the PR).

>All comments

Thanks for finding this. Adding a PR suggestion, which fixes the issue and makes the mentioned websites usable. However it's not quite as smooth as Chrome is unfortunately (more on that in the PR).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arunsathiya picture arunsathiya  路  3Comments

xfarrow picture xfarrow  路  4Comments

sephelps picture sephelps  路  3Comments

jawadalkassim picture jawadalkassim  路  4Comments

jfitie picture jfitie  路  4Comments