Open
Description
🐛 Bug Report
usePopover
is meant to replace the low-lever useOverlayPosition
but because of a missing return value it can't in some cases.
🤔 Expected Behavior
updatePosition
should be returned from usePopover
.
😯 Current Behavior
updatePosition
from useOverlayPosition
which is useful for many scenarios, is not returned by usePopover
.
💁 Possible Solution
There's an old, open PR.
🔦 Context
Was looking at replacing our usage of low-level hooks which have been replaced by usePopover
.
💻 Code Sample
N/A
🌍 Your Environment
N/A
🧢 Your Company/Team
N/A
🕷 Tracking Issue (optional)
N/A