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.

`Radio Tile Group` outline disappear problem

See original GitHub issue

Hi, I’m Zhuoyue from the IBM Watson Studio UI team and am currently working on developing UI for AutoAI.

The Radio Tile Group’s outline disappears under 70% Zoom or smaller. This seems to be the bug for Chrome alone, in the safari everything is fine.

Safari
image Chrome image

Safari
image Chrome image

A temporary fix we are using is to add the following code inside the tilesContainer of the respective .scss, but this only partially solves the problem. If we zoom in 67% or less, we need an even smaller outline-offset to make sure the outline shows up correctly. But under smaller outline-offset, the 110% or more zoom in will looks weird. So I think this component should be updated for this situation. Thanks!

:global(.bx--tile--is-selected){
	outline-offset: -1.5px !important;
}

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
joshblackcommented, Jun 19, 2020

@ZhuoyueLyu yeah, it’s definitely a hard one. It seems like when we go smaller than 100% that Chrome will change the outline width to 1.11111px due to sub-pixel rendering 😞 we can definitely look and see what our options are, most likely switching over to border or box-shadow.

0reactions
andreancardonacommented, Mar 31, 2021

@ZhuoyueLyu Thank you for your patience on this! You should see a fix here: https://github.com/carbon-design-system/carbon/pull/8258

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display outline on all unselected radio buttons - Stack Overflow
From your question, we understand, you have a button with id BtnContinue and on click on that outline will appear or disappear. –...
Read more >
Radio button outline will not go away - eehelp.com
I have a group of questions of radio button at the breast of a dynamic form that display additional questions based on the...
Read more >
Radio Station Tile Missing | MachEforum
try swiping left on the tile area and see if it is hiding off the screen. OR swipe down on a tile to...
Read more >
RadioGroup - Android Developers
This class is used to create a multiple-exclusion scope for a set of radio buttons. Checking one radio button that belongs to a...
Read more >
What Are the Issues with Android App Widgets and ... - Medium
Android is an open-source Linux-based platform developed by a group of companies led by Google. The full multitasking of the Android ...
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