Skip to content
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

Disable pointer-events on all disabled descendents of tooltips #1222

Conversation

chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Sep 28, 2018

Summary

Fixes #1211

Disabled pointer events on any disabled element that is a child of EuiToolTip, not only direct child descendants.

Tested on all browsers, this has a side effect that the disabled mouse cursor state does not trigger when hovering over the disabled element - except ironically in IE11 where you still see the disabled cursor.

Checklist

- [ ] This was checked in mobile

  • This was checked in IE11
    - [ ] This was checked in dark mode
    - [ ] Any props added have proper autodocs
    - [ ] Documentation examples were added
  • A changelog entry exists and is marked appropriately
  • This was checked for breaking changes and labeled appropriately
    - [ ] Jest tests were updated or added to match the most common scenarios
    - [ ] This was checked against keyboard-only and screenreader scenarios

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what we talked about doing to solve the issue. I think we'll just have to watch implementations to see if there is any bad consequences.

@chandlerprall chandlerprall merged commit 876e1cb into elastic:master Oct 2, 2018
@chandlerprall chandlerprall deleted the bug/1211-tooltips-disabled-descendants branch October 2, 2018 19:28
@snide snide mentioned this pull request Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants