Skip to content

Keeping interactive widgets in tooltips without keeping them open #4793

Answered by PPakalns
PPakalns asked this question in Q&A
Discussion options

You must be logged in to vote

Simple working workaround:

Instead of using:

response.on_hover_ui(|ui| {

});

You can do:

if response.hovered() {
    response.show_tooltip_ui(|ui| { ... });
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@PPakalns
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PPakalns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants