Okuyun / Kuran

https://okuyun.github.io/Kuran/
6 stars 3 forks source link

Swipes conflict - Pull to refresh #23

Closed a0m0rajab closed 3 years ago

a0m0rajab commented 3 years ago

The default chrome pull to refresh feature is intervening with the swipe down/up function we got and cause to fully refresh the page, which it's not a great UX.

We can disable the default chrome feature to get the best UX for this app:

https://w3bits.com/prevent-chrome-pull-to-refresh-css

SmallSimpleSafe commented 3 years ago

All problems related to swipe and resize seems to be solved

image I found the cause for this problem: resize listener and swipe listener used the same function!!