Open simongray opened 6 years ago
The swiping should be set on each individual article element in the search results, enabling a quick swipe into that entry. Swiping back on any page page will simply return to the previous page, while swiping forward will go to the next page (if the current is a previous page) or otherwise do nothing.
Can be accomplished using: https://github.com/dogfessional/react-swipeable
This allows for simple swipe handlers to be set to trigger navigation events backwards and forwards in history.
A bonus would be to have ReactTransitionGroups on the main elements to simulate a page appearing from the right or left.