question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: scroll assist is not working on PWA with latest version of Ionic 5.1.1

See original GitHub issue

Bug Report

Ionic version: 5.1.1

Current behavior: I have a form with a list of inputs (create account form). When tapping through the inputs, the keyboard overlays and hides the input. I believe I first noticed this behavior since the introduction of Ionic 5.0.6 and e24060e.

My prod app is still running 5.0.5, and the scroll assist works great.

I updated to 5.1.1 to test it again, thinking that 7166a29 would have addressed it, but it’s still not behaving properly for me.

Expected behavior: When tapping through a list of inputs and the keyboard displays, the focused input should also remain visible.

Related code: I’m using Ionic Angular 5.1.1, running as a PWA on iOS safari. Here’s an example of what the structure of my template looks like:

<form>
 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-item>
  <ion-label position="stacked">Example</ion-label>
  <ion-input type="text"></ion-input>
 </ion-item>

 <ion-button shape="round" expand="full">Create Account</ion-button>
</form>

Other information: Notice that I’m not currently wrapping the ion-items in an ion-list, I’m not sure if that would have any impact.

Ionic info:

Ionic CLI : 5.2.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.1.1
@angular-devkit/build-angular : 0.900.7
@angular-devkit/schematics : 9.0.7
@angular/cli : 9.0.7
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 1.5.1
@capacitor/core : 1.1.1

Cordova:

Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)

Utility:

cordova-res : not installed
native-run : not installed

System:

NodeJS : v10.16.3 (/usr/local/Cellar/node/9.6.1/bin/node)
npm : 6.9.0
OS : macOS Mojave

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
joeszewskicommented, Jun 22, 2020

@liamdebeasi @rricamar FYI that updating to v5.2.2 has resolved the issue for me.

1reaction
rricamarcommented, Jun 23, 2020

@liamdebeasi @rricamar FYI that updating to v5.2.2 has resolved the issue for me.

Same here! 👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

scroll assist is not working on PWA with latest version of Ionic ...
Bug Report Ionic version: 5.1.1 Current behavior: I have a form with a list of inputs (create account form). When tapping through the...
Read more >
App Migration Guide: Documentation to Migrate Ionic 4.x to 5.x
The Ionic Migration Guide provides documentation for how to migrate an app from 4.x to 5.x. Read to learn more about what updates...
Read more >
Cordova Android 8.0.0 Released!
I have an iframe with a custom map and what happens is that later I updated android to 8.0.0 and when i want...
Read more >
How to solve the no scrolling issue with Ionic Web View in non ...
Problem When building a new Cordova iOS app, you'll have to face the WebView Dilemma: Cordova's default iOS WebView is currently UIWebView, ...
Read more >
@ionic/angular | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found