Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White color of text when input via input methods #2916

Closed
igordmn opened this issue Mar 24, 2023 · 0 comments · Fixed by JetBrains/compose-multiplatform-core#450
Closed

White color of text when input via input methods #2916

igordmn opened this issue Mar 24, 2023 · 0 comments · Fixed by JetBrains/compose-multiplatform-core#450
Assignees
Labels
bug Something isn't working input Touch, mouse, keyboard input related p:critical Critical priority regression

Comments

@igordmn
Copy link
Collaborator

igordmn commented Mar 24, 2023

When we input text via input methods, the current input characters has the White color instead of the default Black:

Recording.2023-03-24.154947.mp4

Regression after JetBrains/compose-multiplatform-core#426 (a revert fixes it)

Affected platforms
Desktop

Versions
OS: Windows
Compose Version: 7fdfeeab (core repo)

Expected behavior

  1. run this example:
import androidx.compose.material.TextField
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.window.singleWindowApplication

fun main() = singleWindowApplication {
    var text by remember { mutableStateOf("") }
    TextField(text, { text = it })
}
  1. Install Korean input in the system
  2. Switch to the Korean layout, start typing
  3. See that the current typed characters in the White color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working input Touch, mouse, keyboard input related p:critical Critical priority regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants