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.9k stars 1.16k forks source link

JS TextField loose focus when press quote char #3941

Open hondogo opened 10 months ago

hondogo commented 10 months ago

Describe the bug When pressing quote char then TextField is loosing focus cause another text field appeared by browser (see screenshot below)

Affected platforms

Versions

To Reproduce 1) Set focus on TextField 2) Press quote char

Sample for reproduce:

@Composable
fun Test() {
    var v by remember { mutableStateOf("") }
    TextField(
        value = v,
        onValueChange = { v = it }
    )
}

Expected behavior TextField not loosing focus. No browser specific dialogs/inputs appearing

Screenshots 20231117_175810

okushnikov commented 2 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.