question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[component audit] data table bugs

See original GitHub issue

Code bugs:

  • tr row hover should be using token hover-ui and not hover-field
  • ~In Safari, focus is not appearing on the column headers~ See TJs comment below
  • Disabled row styling is missing.
  • Zebra stripes: in the G90 and G100 themes the first row and the table headers are blending together. The first row should use the default color and the second row should use the zebra color. (we may need to re-evaluate this from a design perspective but this will resolve the main issue for now). image

Visual bugs:

  • Overflow menu: in G100 theme the menu blends into the table background. image

Questions:

  • Is the row of a data table supposed to be focusable? I cannot get it to focus in the storybook.
  • Is disabling a row or the whole table possible?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tw15egancommented, Nov 3, 2020

Safari recenty changed how they handle focus so you may need to change your settings (Preferences --> Advanced) Screen Shot 2020-11-03 at 2 23 45 PM

Once I enable that, I’m able to get focus styles when I tab through elements. Chrome / Firefox / Safari all handle click focus differently (Chrome will show and keep focus on click, the others won’t) Screen Shot 2020-11-03 at 2 23 34 PM

Rows can’t be focused, only the focusable elements (since no action can be taken on a row). If you tab through a selectable row, the focus is on the input (since that is what is being checked / unchecked) Screen Shot 2020-11-03 at 2 24 04 PM

1reaction
aagonzalescommented, Nov 10, 2020

@tw15egan Turning on the light prop for the overflow I think would solve that problem. I’m ok with it being like that across themes.

And yes we need to update $data-table-column-hover.

  • G100: #4C4C4C
  • G90: #656565
Read more comments on GitHub >

github_iconTop Results From Across the Web

Robust audit logging — DataTables forums
This looks awesome, and I am trying to get it to work, but it does not log the changes into my table, and...
Read more >
[bug-14972]Audit log for Perspective client - Ignition
ott.sellis: Currently using 8.0.9 and am not able to find an audit log component. Use a table and a query binding, and you're...
Read more >
Best design for a changelog / auditing database table? [closed]
Denormalize as much as reasonably possible. You want the table to have as few dependencies as possible to the original data. The audit...
Read more >
Audit log filter results in "There was an error loading data ... - Jira
It will fail with a message stating "There was an error loading data". Steps to Reproduce. You can either: Generate XX million rows...
Read more >
Set up the audit log connector - Power Platform - Microsoft Learn
Before you use the audit log connector; How to get older data; It looks like I found a bug with the CoE Starter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found