fix: the input field of tool panel not worked as expected (#6003)

This commit is contained in:
非法操作 2024-07-06 09:54:30 +08:00 • committed by GitHub
commit eee779a923
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 9 deletions

View file

@ -191,6 +191,7 @@ const SimpleSelect: FC<ISelectProps> = ({
onClick={(e) => {
e.stopPropagation()
setSelectedItem(null)
onSelect({ value: null })
}}
className="h-5 w-5 text-gray-400 cursor-pointer"
aria-hidden="false"