ui: fix bugs & add feature (#493)

This commit is contained in:
panda authored and GitHub committed 2023-01-23 22:07:06 +08:00
1 parent f0aa9a8d46
commit 65e5296436
5 files changed
+23 -2

No files matched your search

@@ -274,7 +274,7 @@ const AutoComplete = forwardRef(function Impl<T>(props: AutoCompleteProps<T>, re
};
return (
<div style={{ display: 'inline-block', width: '100%', marginBottom: '1rem' }}>
<div className="autocomplete-container" style={{ display: 'inline-block', width: '100%', marginBottom: '1rem' }}>
<div
className={focused ? 'autocomplete-wrapper focused' : 'autocomplete-wrapper'}
style={{ width, height }}