Skip to content

[Dialog] - BasicAlertDialog weird sqeeze animation when showing soft keybaord #4751

Closed
@cmpeguerog

Description

@cmpeguerog

Describe the bug
Dialog layout sqeeze vertically when soft keyboard is being show.

Affected platforms

  • iOS

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.10-beta03
  • OS version(s)* (required for Desktop and iOS issues): Ventura 13.6.6
  • OS architecture (x86 or arm64): x86
  • Device (model or simulator for iOS issues): Simulator iPhone 15 Pro running iOS 17.2, iPhone 12 Pro Max running 17.4.1.

To Reproduce

  1. Add a TextField inside a BasicAlertDialog
  2. Request focus to show keyboard as soon as the dialog appears in the composition.

Expected behavior
Dialog should slide up without squeeze animation.

Screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-02.at.14.29.43.mp4

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions