-
Notifications
You must be signed in to change notification settings - Fork 843
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
New focus ring getting clipped on checkboxes in tables #2757
Comments
It looks like this was already happening with the old focus ring. I’ve been looking into it and I’m not sure if this is a problem with @cchaos do you have any thoughts? |
I took a peek and the issue is on both the docs and Canvas side. My guess is that the docs example was copied and it applies a hard-coded 24px to the header td which then determines the width of the td's on down the column. That said, we still need some tweaking on the EUI side as well. We currently set the td for checkboxes to 32px, but it is overridden by the th width. A couple of thoughts... increase the th width of our example tables that have checkboxes (currently set at 24px) and then match the td width for checkboxes to be the same. I suspect setting that width on the td, while seemingly not being used, is necessary if there is no checkbox in the header? |
The
There are several table examples with checkboxes; here is one as an example:
|
The new, larger focus ring is getting clipped for checkboxes in EUI tables.
This was initially noticed by a Canvas engineer, but it is also visible in our EuiTable docs - see the checkbox focus getting clipped under the "Adding selection to a BasicTable" section:
The text was updated successfully, but these errors were encountered: