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

fix(Tooltip): prevent right click from triggering tooltip #7434

Merged

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Dec 10, 2020

Closes #7423

This PR modifies the handleMouse method to include right clicks and prevent the tooltip from opening when the trigger button is right clicked

Testing / Reviewing

Confirm that the tooltips are not opened by right click events and that no behavioral regressions were introduced

@netlify
Copy link

netlify bot commented Dec 10, 2020

✔️ Deploy preview for carbon-elements ready!

🔨 Explore the source changes: a05fa42

🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/5fd8d445a9b0d20007d7f6e3

😎 Browse the preview: https://deploy-preview-7434--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Dec 10, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit a05fa42

https://deploy-preview-7434--carbon-components-react.netlify.app

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@kodiakhq kodiakhq bot merged commit 68e2974 into carbon-design-system:master Dec 15, 2020
@emyarod emyarod deleted the 7423-right-click-tooltip branch December 15, 2020 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

right-clicking on a tooltip button (i.e. to open a context menu) should not trigger the tooltip
3 participants