-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Support ignoring pointer events on tooltip overlay (#142465) #161363
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
Support ignoring pointer events on tooltip overlay (#142465) #161363
Conversation
ccee1e1
to
18fac21
Compare
Anyone know what these build pipeline errors are? I think not related to my PR? |
I saw this same error in another recent PR, so I believe you're right that it's unrelated to this change. At this point we can probably fix it with a rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as the implementation, this LGTM 👍
It's great to see #142465 being solved in a simple & effective way.
As far as backward-compatibility: let's get all the other checks passing and then see what Google Testing does!
c318d4b
to
ade4fa3
Compare
@nate-thegrate Thanks for the review! Looks like everything has passed 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
This approval should kick off Google Testing; I guess we'll see how it goes 😃
b73e45d
to
2a0b150
Compare
@nate-thegrate Cheers! Looks like it's ready to merge |
@dkwingsmt Hi. Looking like you will get this review done this week? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the change! I'm ok with this default behavior change.
(And sorry for the delayed review!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a nit 👍
5eedec1
to
b791d47
Compare
b791d47
to
53e3c29
Compare
As #142465 states, tooltips often interrupt widget interactivity by not allowing events to pass through to the Tooltip child, which is especially poor UX when hovering interact-able widgets on web when the mouse happens to land on the tooltip.
I've gone with defaulting ignorePointer to true when a simple message is supplied, since there won't ever be anything interact-able on the Tooltip, and defaulting to false when richMessage is supplied, so it doesn't break anyone's code that has interact-able widgets in the Tooltip.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.