Skip to content

Commit 5f18070

Browse files
zombieJclaude
andcommitted
fix: add type cast for nativeElement return type
Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 1b387ce commit 5f18070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SelectInput/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export default React.forwardRef<SelectInputRef, SelectInputProps>(function Selec
166166
(inputRef.current || rootRef.current).blur?.();
167167
},
168168
// Use getDOM to handle nested nativeElement structure (e.g., when RootComponent is antd Input)
169-
nativeElement: getDOM(rootRef.current),
169+
nativeElement: getDOM(rootRef.current) as HTMLDivElement,
170170
};
171171
});
172172

0 commit comments

Comments
 (0)