Skip to content

Commit 3db54d4

Browse files
fix: update
1 parent 8079b67 commit 3db54d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PickerInput/Selector/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const Input = React.forwardRef<InputRef, InputProps>((props, ref) => {
346346
const rafRef = React.useRef<number>();
347347

348348
useLayoutEffect(() => {
349-
if (!focused || !format) {
349+
if (!focused || !format || mouseDownRef.current) {
350350
return;
351351
}
352352

0 commit comments

Comments
 (0)