JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.24k stars 1.11k forks source link

First click inside BasicAlertDialog accompanied by jump of rise component #4950

Closed ExNDY closed 2 weeks ago

ExNDY commented 2 weeks ago

Describe the bug Clickable content inside Dialog/BasicAlertDialog on iOS platform accompanied by jump of resize component.

Affected platforms

Versions

To Reproduce Steps to reproduce the behavior:

  1. Run this code snippet:
    BasicAlertDialog(
                modifier = Modifier.fillMaxWidth(),
                onDismissRequest = {  },
            ) {
                Button(
                    onClick = {}
                ){
                    Text("sametext")
                }
            }
  2. Click on button
  3. See jump on first click any elements

Expected behavior Click without "jumps" like on Android platform

Video

https://github.com/JetBrains/compose-multiplatform/assets/22731300/caefbc96-3edc-4103-b304-e7f932c8de39

MatkovIvan commented 2 weeks ago

Duplicate of #4924