Skip to content

Commit

Permalink
feat: remove useless judgement
Browse files Browse the repository at this point in the history
  • Loading branch information
dongxingxingdong committed Jan 9, 2025
1 parent fb3105a commit 8d381da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const Input = forwardRef<HandlerRef<TextInput, FinalInputProps>, FinalInputProps
}

const onSelectionChange = (evt: NativeSyntheticEvent<TextInputSelectionChangeEventData>) => {
evt?.nativeEvent?.selection && setSelection(evt.nativeEvent.selection)
setSelection(evt.nativeEvent.selection)
bindselectionchange && bindselectionchange(
getCustomEvent(
'selectionchange',
Expand Down

0 comments on commit 8d381da

Please sign in to comment.