Skip to content

Commit

Permalink
add onTouchStart
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwen committed Sep 17, 2024
1 parent f74ca07 commit 17e1a5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MarkdownTextInput.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const MarkdownTextInput = React.forwardRef<TextInput, MarkdownTextInputProps>(
onContentSizeChange,
id,
inputMode,
onTouchStart,
},
ref,
) => {
Expand Down Expand Up @@ -676,6 +677,7 @@ const MarkdownTextInput = React.forwardRef<TextInput, MarkdownTextInputProps>(
dir={dir}
inputMode={inputMode}
onSelect={updateSelection}
onTouchStart={onTouchStart}

Check failure on line 680 in src/MarkdownTextInput.web.tsx

View workflow job for this annotation

GitHub Actions / check

Type '((event: GestureResponderEvent) => void) | undefined' is not assignable to type 'TouchEventHandler<HTMLDivElement> | undefined'.
/>
);
},
Expand Down

0 comments on commit 17e1a5f

Please sign in to comment.