bug: scroll assist on ion-input and ion-textarea not (always) working
See original GitHub issueBug Report
Ionic version:
[x] 5.1.0
Current behavior:
Clicking inside an input field does not scroll the page up so that the input field becomes visible.
Expected behavior:
Page should be scrolled up until input is visible
Steps to reproduce:
Related code:
https://github.com/capc0/ion-textarea-scroll-assist
Other information:
Unfortunatly it is not always reproduceable.
Here is an example with <ion-input>
when inputing in items 10 and 11 the view is only scrolled after typing. should be scrolled after the click into the input instead.
and another one with <ion-textarea>
when inputing in items 10 and 11,
Ionic info:
Ionic:
Ionic CLI : 6.2.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.1.0
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)
Utility:
cordova-res (update available: 0.14.0) : 0.11.0
native-run (update available: 1.0.0) : 0.2.9
System:
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v10.16.3 (/usr/local/bin/node)
npm : 6.14.2
OS : macOS Catalina
Xcode : Xcode 11.4 Build version 11E146
I have found many other issues regarding scroll assist, but they were all closed so I thought it would be better to open a new one instead of re-opening one of the old issues.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (9 by maintainers)
Top GitHub Comments
That version works great 😃 Thanks.
Thanks! Can you try this dev build:
npm i @ionic/angular@5.2.0-dev.202005061751.1824261