ionic-framework
ionic-framework copied to clipboard
Fix transition speed on swipe back
Issue number: #27748
What is the current behavior?
Swipe back can take too long. On the iOS settings app, swipe back is always shorter than tapping to go to a new page (even if you swipe back slowly). This is accomplished without making it visually seem "faster" by using a linear transition function for the back swipe.
A slow swipe back transition can make the app see laggy and slow when swiping back and then scrolling down in the page you swiped back to.
What is the new behavior?
- Swipe back function is linear
- Maximum of 200ms to complete swipe back animation
Does this introduce a breaking change?
- [ ] Yes
- [X] No
Other information
This patch has been in use in Voyager for the past couple months with great results.