Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSwipe gesture on mobile #38
Comments
nolanlawson
added
the
enhancement
label
Apr 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nolanlawson commentedApr 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
touchmoveevents can block scrolling.I think it may be possible to do this performantly and accurately with Pointer Events, but this needs some investigation first.