Skip to content

bug: scroll assist does not account for accessory bar #21912

@dallastjames

Description

@dallastjames

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

Scroll assist calculation appears to be off when running on an iOS device with a notch. The screen does scroll correctly, but seems to come up short by about the size of the notch. The behavior is correct when running the app using Capacitor, and is only present on an iOS device with a notch when using Cordova. (Checked on simulator against iPhone 11 and Xr, which have the notch, vs the SE gen2 which does not have the notch)

Expected behavior:

The scroll assist correctly calculates the adjustment on devices with the notch.

Steps to reproduce:

REPO: https://github.com/dallastjames/ionic-cordova-keyboard-autoscroll-bug

npm i
ionic cordova build ios

Ionic info:

@ionic/angular 5.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions