Package
@carbon/react
Browser
Chrome
Package version
v11
React version
v17.0.2
Description
A ghost button with a renderIcon property displays a grey background on focus. It's expected that the grey background is only shown when the button is active (see screenshot below). This issue seems to have been introduced by this commit .
Reproduction/example
https://stackblitz.com/edit/github-xhdttodv?file=src%2FApp.jsx
Steps to reproduce
- tab to the ghost button via keyboard and notice that its background goes gray (we'd expect the blue outline but not the 'active' background)
Suggested Severity
Medium (Severity 3) = User can complete task, and/or has a workaround within the user experience of a given component.
Project name
Watson Orchestrate
Code of Conduct
Package
@carbon/react
Browser
Chrome
Package version
v11
React version
v17.0.2
Description
A ghost button with a renderIcon property displays a grey background on focus. It's expected that the grey background is only shown when the button is active (see screenshot below). This issue seems to have been introduced by this commit .
Reproduction/example
https://stackblitz.com/edit/github-xhdttodv?file=src%2FApp.jsx
Steps to reproduce
Suggested Severity
Medium (Severity 3) = User can complete task, and/or has a workaround within the user experience of a given component.
Project name
Watson Orchestrate
Code of Conduct