From dcbba501cb08fdb7727ab017150e63d2b15cca4f Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 23 Apr 2024 20:41:45 -0700 Subject: [PATCH] native --- src/view/com/composer/text-input/TextInput.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index aad1d5e012..a95281959e 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -139,6 +139,8 @@ export const TextInput = forwardRef(function TextInputImpl( mayBePaste, onNewLink, prevAddedLinks: prevAddedLinks.current, + endIndex: newRt.unicodeText.slice(0, facet.index.byteEnd) + .length, }) } }