-
Notifications
You must be signed in to change notification settings - Fork 51
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
is possible auto close after show? #39
Comments
The default tooltip closes after it is opened. It mimics the behaviour of the default Flutter JustTheTooltip(
isModal: false, // fale is the default. This will hide the tooltip after `showDuration`
) |
Let me know if this answered your question |
It may be because i'm showing it programmatically? I tested pressing the child for showing the tooltip and it works fine. |
Sorry, can't go fully into this rn. Maybe this weekend. I will point out where I think the issue is though. In this function in a regular tooltip press it handles the tooltip dismissal. Because a controller _showTooltip never triggers a mouse click event, those |
I got it! Thank you so much for answering. Thank you for this great library too. Have a nice day! |
Alright, I finally got to this and added an controller.showTooltip(immediately: true, autoClose: true); Note, you'll be limited how long it stays open by either your This update is hidden behind Let me know if something sucks. I still need at least one or two more tests before I put stable |
It works fine, it closes automatically. Example with showDuration = Duration(milliseconds: 1500) Grabacion.de.pantalla.2021-10-22.a.la.s.12.09.49.movThanks yo so much! |
😄 Closing |
No description provided.
The text was updated successfully, but these errors were encountered: