fix: Animation of InputSelect is janky (#4061)
This commit is contained in:
@@ -10,7 +10,7 @@ const useMenuHeight = (
|
||||
const isMobile = useMobile();
|
||||
const { height: windowHeight } = useWindowSize();
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
React.useEffect(() => {
|
||||
const padding = 8;
|
||||
|
||||
if (visible && !isMobile) {
|
||||
|
||||
Reference in New Issue
Block a user