mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-07 22:41:59 +08:00
Merge pull request #211 from unix/input
fix(input): fix icon event is cached incorrectly
This commit is contained in:
@@ -117,7 +117,7 @@ const Input = React.forwardRef<HTMLInputElement, React.PropsWithChildren<InputPr
|
||||
clickable: iconClickable,
|
||||
onClick: iconClickHandler,
|
||||
}),
|
||||
[heightRatio, iconClickable],
|
||||
[heightRatio, iconClickable, iconClickHandler],
|
||||
)
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user