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

[Table] Empty state of table has hover styling #3747

Open
1 of 2 tasks
heinsj opened this issue Mar 7, 2023 · 0 comments
Open
1 of 2 tasks

[Table] Empty state of table has hover styling #3747

heinsj opened this issue Mar 7, 2023 · 0 comments

Comments

@heinsj
Copy link

heinsj commented Mar 7, 2023

What package is this for?

  • React
  • Angular

Describe the bug

When a table is empty and the empty state message shows, the entire empty table has a hover state. This is causing users to expect an action on the empty state.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the storybook > Table > with searching ([https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-table--with-searching])
  2. Search for something that will return no results, such as 'elephant'
  3. Get the empty state
  4. Mouse over the empty area and see the background change

Please create a reduced test case in CodeSandbox:
https://codesandbox.io/s/github/carbon-design-system/carbon-addons-iot-react/tree/next/packages/react/examples/codesandbox

Expected behavior

I did not expect to see hover styling on the overall empty table area. I only expect to see hover styling on a button or link if those are included in the empty state text.

Environment/versions:

  • OS: All
  • Browser: All
  • carbon-addons-iot-react version: [e.g. v2.60.0]

Additional context

If applicable, add screenshots to help explain your problem.
Empty table with no hover:
image

Empty table showing hover styling:
image

Specific timeline issues / requests

Do you want this work within a specific time period? We are closing down our release in April and would like a fix by then.

NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant