From e9424a9fe373c486acf1172e7e6272a24c2c85ce Mon Sep 17 00:00:00 2001 From: Shridhar Goel <35566748+ShridharGoel@users.noreply.github.com> Date: Mon, 10 Jun 2024 01:15:25 +0530 Subject: [PATCH] Fix multiple text selection issues (#377) --- src/MarkdownTextInput.web.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index 99efd9f34..bd76f616d 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -364,11 +364,6 @@ const MarkdownTextInput = React.forwardRef( text = parseText(divRef.current, changedText, processedMarkdownStyle).text; } - const selectionAfterTextChange = CursorUtils.getCurrentCursorPosition(divRef.current); - if (selectionAfterTextChange) { - contentSelection.current = selectionAfterTextChange; - } - if (pasteRef?.current) { pasteRef.current = false; updateSelection(e);