You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definition Tooltip is not opening on first click. It opens and closes immediately. It is taking two clicks to open the tooltip definition, first click where the text is getting focused, and another click to open it.
Indeed, DefinitionTooltip does not open on the first click, but I've only experienced that with Playwright's .click(). Specifically, I've been investigating when openOnHover={false} is set and I have not investigated other props. These types of clicks both work:
Clicking as a user with my mouse
Clicking in the dev console with document.querySelector("button.cds--definition-term").click().
Package
@carbon/react
Browser
Chrome, Firefox
Package version
1.62.0
React version
No response
Description
Definition Tooltip is not opening on first click. It opens and closes immediately. It is taking two clicks to open the tooltip definition, first click where the text is getting focused, and another click to open it.
Reproduction/example
https://stackblitz.com/edit/github-jmmemz?file=src%2FApp.jsx
Steps to reproduce
https://stackblitz.com/edit/github-jmmemz?file=src%2FApp.jsx
Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: