Replies: 1 comment
-
Hey! Thank you for your question! Right now the If you really want to do it programmatically, then you can attach a ref to it and open it manually.
Did you actually measure this? Why do you think this would slow down performance? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi i run an e-commerce, and im not able to open the popover from the outside when a person clicks the "Add to Cart" button. Only way i can achieve this is through a hacky method using useRef, which ultimately also might slow performance of site. Isn't there a way i can open the popover from an outside component?
Have also reported the issue here: https://stackoverflow.com/questions/74769929/how-to-open-popover-manually-headless-ui/74770030#74770030
Beta Was this translation helpful? Give feedback.
All reactions