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

[Bug]: Wrong focus style on DataTable batch actions toolbar #17000

Open
2 tasks done
AlanGreene opened this issue Jul 19, 2024 · 1 comment
Open
2 tasks done

[Bug]: Wrong focus style on DataTable batch actions toolbar #17000

AlanGreene opened this issue Jul 19, 2024 · 1 comment
Labels
severity: 3 https://ibm.biz/carbon-severity type: bug 🐛

Comments

@AlanGreene
Copy link
Contributor

AlanGreene commented Jul 19, 2024

Package

@carbon/react

Browser

Chrome, Safari, Firefox, Edge

Package version

v1.62.0

React version

v17.0.2, v18.3.1

Description

Slack thread: https://my.slack.com/archives/C2K6RFJ1G/p1721303885253669
@tay1orjones fyi

When using the dark themes (g90, g100), the focus outline on the DataTable's batch actions toolbar uses a dark colour after briefly flashing the expected light colour.

This is due to its use of --cds-layer for the outline colour.

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-datatable-batch-actions--default&globals=theme:g90

Steps to reproduce

  1. Load the DataTable batch actions story using one of the dark themes
  2. Select a row in the table
  3. Tab through the batch actions toolbar
  4. Observe the focus outline briefly flashes a light colour, before settling to a dark colour

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

@tay1orjones
Copy link
Member

Thanks for opening this, I looked all the way back to the first v11 releases and this issue has been present for all of v11.

@tay1orjones tay1orjones added severity: 3 https://ibm.biz/carbon-severity and removed status: needs triage 🕵️‍♀️ labels Jul 19, 2024
@tay1orjones tay1orjones moved this to ⏱ Backlog in Design System Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: 3 https://ibm.biz/carbon-severity type: bug 🐛
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

2 participants