Skip to content

Commit a54fc8d

Browse files
committed
removed text
1 parent 8a37393 commit a54fc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useOverflowContainer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const useOverflowContainer = (isOpen, options) => {
6969
setTransform(newTransform);
7070
}
7171
}
72-
}, [isOpen, popupMenuRef, containerEle, topBottomCalc, offset]); // Removed `transform` and `location` from dependencies
72+
}, [isOpen, popupMenuRef, containerEle, topBottomCalc, offset]);
7373

7474
const style = useMemo(() => ({ top, bottom, transform }), [top, bottom, transform]);
7575

0 commit comments

Comments
 (0)