-
Notifications
You must be signed in to change notification settings - Fork 113
Scrolling troubles #62
Comments
Damn, issues that I can't reproduce on my phone are my least favorite ones. Are you able to consistently reproduce this (across app restarts)? |
Yep. Android 11, Pixel 5. Every time, unfortunately. |
Can you please try out this APK? It prints a toast with debug info every time a scroll begins. A screenshot will hopefully give me some hints about the problem. |
Sure, random person on the internet, I'll install your APK! |
Show touches was off, but it was always done in the center-ish/middle-ish of the screen. |
Very interesting.
I'm simply comparing
The joys of debugging UI issues 😔. The other alternatives are to buy a Pixel 5 for testing or ask you to help me debug the touch listener. |
I wonder if I should be using |
Hi @saket, I'm experiencing the same issue here on my Pixel 4 XL. On my device, swiping slowly will reproduce the issue, while swiping fast won't. Here is what happen in
The first But here is what happen when I swipe upward slow:
The first I think you might have to use the touchSlop on the vertical axis as well, |
Interesting. I don't think it's related to the refresh rate because I've been using a 120hz display to test Press. I ended up deciding to add support for nested scrolling to |
Should be fixed by a21985b. Nested scrolling FTW! |
Released in v1.8: https://github.com/saket/press/releases/tag/v1.8. @JakeWharton @SimonMarquis I didn't have a Pixel 4/5 to test, but I'm hoping my fix will work. Please let me know if it still doesn't? |
This version works flawlessly on my pixel 4 XL! 🙌 |
I'm having a lot of trouble scrolling the example files. The inbox (RIP) recycler view action takes precedence somewhere around 50% of the time.
https://photos.app.goo.gl/v5DzRWvBJthfWoKi9
(I swear in the video scrolling was working about twice as much as it otherwise was.)
The text was updated successfully, but these errors were encountered: