From 17e1a5fea4b800eafb59db6e45e9d1f2bc6683fe Mon Sep 17 00:00:00 2001 From: christianwen Date: Tue, 17 Sep 2024 22:09:38 +0700 Subject: [PATCH] add onTouchStart --- src/MarkdownTextInput.web.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index 2646f061..4d310b4a 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -98,6 +98,7 @@ const MarkdownTextInput = React.forwardRef( onContentSizeChange, id, inputMode, + onTouchStart, }, ref, ) => { @@ -676,6 +677,7 @@ const MarkdownTextInput = React.forwardRef( dir={dir} inputMode={inputMode} onSelect={updateSelection} + onTouchStart={onTouchStart} /> ); },