We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a37393 commit a54fc8dCopy full SHA for a54fc8d
src/hooks/useOverflowContainer.js
@@ -69,7 +69,7 @@ const useOverflowContainer = (isOpen, options) => {
69
setTransform(newTransform);
70
}
71
72
- }, [isOpen, popupMenuRef, containerEle, topBottomCalc, offset]); // Removed `transform` and `location` from dependencies
+ }, [isOpen, popupMenuRef, containerEle, topBottomCalc, offset]);
73
74
const style = useMemo(() => ({ top, bottom, transform }), [top, bottom, transform]);
75
0 commit comments