How to trigger a re-positioning of a Dialog? #3471
-
I am currently loading the content of a Dialog/Modal asynchronously. It is build thanks to I control the state by doing some Hard for me to create an example here, but:
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Looks like we expose a function on the return of useOverlayPosition |
Beta Was this translation helpful? Give feedback.
Looks like we expose a function on the return of useOverlayPosition
updatePosition
https://react-spectrum.adobe.com/react-aria/useOverlayPosition.htmlCan that do what you need?