Swipe gesture on mobile #38

Open
nolanlawson opened this Issue Apr 9, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@nolanlawson
Owner

nolanlawson commented Apr 9, 2018

Swipe left and right on a timeline to switch columns, so you don't need to tap the button in the navigation header.

I avoided this because I found that the react-swipeable-views on Mastodon sometimes has false positives on certain browsers. E.g. on mobile Firefox you scroll down, but it's interpreted as a swipe, which is confusing. Also touchmove events can block scrolling.

I think it may be possible to do this performantly and accurately with Pointer Events, but this needs some investigation first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment