Skip to content

bug(scroll-assist): wrong keyboard offset applied #27257

@EinfachHans

Description

@EinfachHans

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

Noticed a strange behavior with scroll assist and keyboard offset, which is absolutly breaking our apps right now.

See attached stackblitz and open it somewhere where you have a keyboard. Clicking through the inputs adds a increasing keyboard offset which increases until the inputs are completly out of screen.

Additional question: I meantioned that this bug also appears on my ipad while a external keyboard is connected, so there should no shifting at all. Is this possible to detect?

Expected Behavior

The scroll assist should work correctly

Steps to Reproduce

  1. Open attached stackblitz on a device with keyboard
  2. Click through the inputs
  3. See the keyboard offset on the ion content element increasing

Code Reproduction URL

https://github-1mgkjv-2v6hef.stackblitz.io/home

Ionic Info

Starter template in stackblitz

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions