Fix caret misplaced upon pressing Return when using Japanese symbols only

This commit is contained in:
Oleksii Bulenok
2026-07-28 16:43:39 +02:00
parent 82c505f286
commit a5cc97c300
@@ -26,7 +26,7 @@ import {
} from '#/view/com/composer/text-input/text-input-util'
import {atoms as a, useAlf} from '#/alf'
import {normalizeTextStyles} from '#/alf/typography'
import {IS_ANDROID, IS_NATIVE} from '#/env'
import {IS_ANDROID} from '#/env'
import {Autocomplete} from './mobile/Autocomplete'
import {type TextInputProps} from './TextInput.types'
@@ -171,13 +171,6 @@ export function TextInput({
},
)
/**
* PasteInput doesn't like `lineHeight`, results in jumpiness
*/
if (IS_NATIVE) {
style.lineHeight = undefined
}
/*
* Android impl of `PasteInput` doesn't support the array syntax for `fontVariant`
*/