Like on the app, a swipe from the left edge should show the menu on the mobile site, hiding the menu with a center swipe to the left.
While viewing images, swiping left and right should navigate between images.
There may be other interactions we want to add swipe functionality.
- We'll want to identify all the places we want to add this.
- Swipe libraries tend to be large with varying levels of sensitivity, so we need to evaluate various swiping libraries.
Notes from T206354
- Decide what to do about the swipe actions (remove or create a new task):
The menu should be dismissible either by clicking outside of it, or by swiping it to the left. This pattern comes from Google Material Design.
On Android apps it is also common for a swipe rightwards from the left-edge of the screen to open such a drawer. Though on iOS web browsers (Chrome, Safari, Firefox) swiping rightwards from the left-edge of the screen takes you to the previous page (i.e. it's a back button). Open question whether we can support swipe to open only on Android.
Related to T226125.