From a5cc97c300ecd083c9be6a8a630fe9e7ea67ee3f Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Tue, 28 Jul 2026 16:43:39 +0200 Subject: [PATCH] Fix caret misplaced upon pressing Return when using Japanese symbols only --- src/view/com/composer/text-input/TextInput.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 4c293154af..88389ffd56 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -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` */