-
-
Notifications
You must be signed in to change notification settings - Fork 535
how to make tooltip initially open with uncontrolled state #1098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @alondon17. All of the props for v5 have a description listed on our docs page here, and we also have examples for a bunch of the most useful ones here. You might be looking at the legacy v4 docs, which we still have listed since it used by a lot of people to this day (more than v5 even).
Try using |
i know about that prop, i meant we would like having an option for an initial state, while being uncontrolled, currently we had to replicate the click outside ourselves because the built in doesn't work with isOpen true |
As you can see on #1036, we already have plans for an "imperative mode", which will allow you to do something like https://stackblitz.com/edit/stackblitz-starters-f8xebc?file=src%2FApp.tsx In summary, when the component is first mounted, we trigger a |
I'll close the issue for now, but let us know if there's anything else. |
If this is a bug or a Feature request reported using this template, we will close this issue, for those, please use the correct template.
This will be handled as a Question.
your docs are half usable, so many props that don't exist are listed there, we have need a system for menu tooltips to be loaded when their trigger is clicked for performance reasons. is there a prop for thatbecause setting isOpen to true disables things like the tooltip disappearing after click outside and after scroll
The text was updated successfully, but these errors were encountered: