[structured list] selection variant needs peristent background for selected state
See original GitHub issueFor the selected state, the background needs to stay with the checkmark. The background color should be selected-ui
.
Spec:
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
selection - CSS: Cascading Style Sheets - MDN Web Docs
The ::selection CSS pseudo-element applies styles to the part of a document that has been highlighted by the user (such as clicking and ......
Read more >Lists - Material Design
Lists are continuous, vertical display of text or images. ... List structure can be organized using visuals, dividers, and spacing.
Read more >How to change the background color of a UIButton while it's ...
At some point in my app I have a highlighted UIButton (for example when a user has his finger on the button) and...
Read more >Composition-Based Design System In Figma
A choice-list item would have a tinted background in one design file (indicating ... Take the container and select a needed state; ...
Read more >Display a selection list - Angular
... a list of heroes. Allow users to select a hero and display the hero's details. ... Define a HEROES constant as an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @tw15egan for clarifying! I think we can listen to
change
event on<StructuredListRow>
by letting the event bubble, but doing so causes an issue with programmatic control of the checked state. So agreed that it may involve a breaking change.Seems like this is a larger bug with the actual implementation of the React StructuredList, rather than a simple styling bug. The problem does not exist in vanilla.
Can be bundled in with any changes based on the outcome of discussion regarding larger Structured List updates
https://github.com/carbon-design-system/carbon/issues/5065