Skip to content

Commit

Permalink
fix: fix input cursor error in the ios
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Mar 15, 2023
1 parent 153e9db commit aad8dac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/varlet-ui/src/input/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ export default defineComponent({
value = formatNumber(value)
}
value = withMaxlength(withTrim(value))
target.value = value
return value
return withMaxlength(withTrim(value))
}
const handleCompositionStart = (e: Event) => {
Expand Down

0 comments on commit aad8dac

Please sign in to comment.