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
16.36k stars 1.18k forks source link

Weird VoiceOver announcement for text fields with PasswordVisualTransformation #3842

Closed m-sasha closed 2 months ago

m-sasha commented 1 year ago

Describe the bug For text fields with visualTransformation = PasswordVisualTransformation() VoiceOver correctly says it's a secure text element and it will not speak its content. But when you start typing it speaks "1 space c h a r a c t e r":

Screenshot 2023-10-20 at 16 34 48

Affected platforms

Versions

To Reproduce

fun main() = = singleWindowApplication {
    var text by remember { mutableStateOf("") }
    TextField(
        value = text,
        onValueChange = { text = it },
        visualTransformation = PasswordVisualTransformation()
    )
}
okushnikov commented 3 months ago

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