fix: update dropdown width (#2181)
* fix: update dropdown width * fix conflict * refactor dropdown width state
This commit is contained in:
@ -25,6 +25,8 @@ export const useDropdown = (props?: UseDropdownProps) => {
|
||||
setDropdownHotkeyScope,
|
||||
isDropdownOpen,
|
||||
setIsDropdownOpen,
|
||||
dropdownWidth,
|
||||
setDropdownWidth,
|
||||
} = useDropdownStates({
|
||||
scopeId,
|
||||
});
|
||||
@ -61,5 +63,7 @@ export const useDropdown = (props?: UseDropdownProps) => {
|
||||
scopeId,
|
||||
dropdownHotkeyScope,
|
||||
setDropdownHotkeyScope,
|
||||
dropdownWidth,
|
||||
setDropdownWidth,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user