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.

Flat Table - cut outline when header is sticky, no exported types

See original GitHub issue

Current behaviour

  1. When I use hasStickyHead with clickable rows then outline for focus state is cutting.

Example: https://codesandbox.io/s/elastic-darkness-yb7ohv Screenshot: Zrzut ekranu 2022-03-15 o 14 08 04

  1. For this example : https://carbon.sage.com/?path=/docs/flat-table--with-horizontal-scrolling Types like as width, overflowX are not exported.

Expected behaviour

  1. The thickness of the outline is visible from all sides the same.

  2. All usable types should be exported.

CodeSandbox or Storybook URL

https://codesandbox.io/s/elastic-darkness-yb7ohv

JIRA Ticket (Sage Only)

No response

Suggested Solution

For this variant, maybe you should use box-shadow internals.

Carbon Version

104.53.1

What browsers are you seeing the problem on?

Chrome, Safari

What Operating System are you seeing the problem on?

MacOS

Anything else we should know?

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
nicktitchmarshcommented, Mar 16, 2022

It appears as these borders are being rendered with outline instead of border prop in order to maintain table proportions. We will investigate.

1reaction
Parsiumcommented, Mar 15, 2022

Thanks for this @JoannaMikul, these missing props were actually added in v104.54.0 so they should be there in the latest version of carbon 👍🏼 https://github.com/Sage/carbon/releases/tag/v104.54.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Table headers position:sticky and border issue - Stack Overflow
Except my table style has the headers with a border at the top and bottom. The part I do not understand is that...
Read more >
A table with both a sticky header and a sticky first column
My only problem is if I want cell borders, I have basically two options: 1) use border-collapse: collapse or 2) use border-collapse: separate....
Read more >
Safari Technology Preview Release Notes - Apple Developer
Safari Technology Preview Release Notes. Release 160. Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, and Web Extensions are not...
Read more >
Sticky Headers: 5 Ways to Make Them Better
1. Maximize the Content-to-Chrome Ratio by Keeping It Small. Sticky headers inherently take up space on the screen that could be used for ......
Read more >
Trending Plugins tagged as export | Figma Community
A Figma plugin to export Frame nodes to .ico (Windows) and/or .icns (Mac) files. These file types are often used for application, file...
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