Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
Swiping right on a form with ion-input and ion-label that has position stacked or floating sometimes causes the app to get stuck between two pages.
Image.from.iOS.1.MP4
Expected Behavior
- If the user performs a "full swipe" the user get routed to the previous page.
- If the user aborts the swipe he/she stays on the page.
- In neither case the user is stuck between two pages.
Steps to Reproduce
- Create an
ion-content
containing multipleion-item
s withion-label
andion-input
. Theion-label
s must haveposition="stacked"
orposition="floating"
. - Put it on a page where you can swipe to get back to a previous page.
- Click into an
ion-input
- Swipe right fast from the middle of the screen while the
ion-input
have focus. Sometimes this has to be done multiple times before the bug appears.
It happens when swiping from the left of the screen or even scrolling fast too (probably slightly swiping right) but not as frequently and thus harder to reproduce.
Code Reproduction URL
https://github.com/colmunel/test
Ionic Info
Ionic:
Ionic CLI: 6.18.2
Ionic Framework: @ionic/angular 5.8.5
@angular-devkit/build-angular: 0.1101.4
@angular-devkit/schematics: 9.1.15
@angular/cli: 11.1.4
@ionic/angular-toolkit: 2.3.3
Capacitor:
Capacitor CLI: 3.2.5
@capacitor/android: 3.3.2
@capacitor/core: 3.2.5
@capacitor/ios: 3.3.2
Utility:
cordova-res: not installed globally
native-run: 1.5.0
System:
NodeJS: v14.19.0
npm: 6.14.15
OS: Windows 10
Additional Information
Bug appeared on iOS. Not tested on Android.