Skip to content

Commit

Permalink
chore: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
aojunhao123 committed Nov 1, 2024
1 parent f8c1a7b commit 237422b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/InputNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,20 +663,6 @@ const InputNumber = React.forwardRef<InputNumberRef, InputNumberProps>((props, r
React.useImperativeHandle(ref, () =>
proxyObject(inputFocusRef.current, {
focus,
blur: () => {
inputFocusRef.current?.blur();
},
setSelectionRange: (
start: number,
end: number,
direction?: 'forward' | 'backward' | 'none',
) => {
inputFocusRef.current?.setSelectionRange(start, end, direction);
},
select: () => {
inputFocusRef.current?.select();
},
input: inputFocusRef.current,
nativeElement: holderRef.current.nativeElement || inputNumberDomRef.current,
}),
);
Expand Down

0 comments on commit 237422b

Please sign in to comment.