You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some issues with handling the RTL text. Sample code:
CompositionLocalProvider(LocalLayoutDirection provides LayoutDirection.Rtl ) {
TextField(
value = text,
onValueChange = {
text = it
}
)
}
Affected platforms
Select one of the platforms below:
iOS
Versions
Kotlin version*: 1.8.20
Compose Multiplatform version*: 1.4.0
To Reproduce
Bug #1: Type a word. Than press space. In RTL mode the caret jumps to the beginning of the line and a whitespace appears before the actual content. If you continue typing something other than whitespaces, the caret returns to its original position.
Bug #2: Selection handles behave very weird, both in the whitespace case from bug #1, with other pieces of RTL text and when you try to select all.
There are some issues with handling the RTL text. Sample code:
Affected platforms
Select one of the platforms below:
Versions
To Reproduce
Bug #1: Type a word. Than press space. In RTL mode the caret jumps to the beginning of the line and a whitespace appears before the actual content. If you continue typing something other than whitespaces, the caret returns to its original position.
Bug #2: Selection handles behave very weird, both in the whitespace case from bug #1, with other pieces of RTL text and when you try to select all.
Related issues:
The text was updated successfully, but these errors were encountered: