Closed AdeoRemiDoolaeghe closed 2 weeks ago
The proposed modification could be the following one. In _c.listbox.scss
, modify:
&:not(#{$selector-empty}):not(.is-disabled):hover {
background-color: $color-listbox-tile-hover-background;
box-shadow: inset 9px 0 0 -7px $color-listbox-tile-shadow;
}
By adding something inspired by this selector:
.mc-listbox__tile:has(.mc-listbox__input:focus) {
// Same style as hover
}
I am opening an issue for
Styles (CSS, SCSS, ...)
Package version
@mozaic-ds/1.70.0
Description
On the ListBox component from Mozaic-vue, there is no visual clue on which element is currently focused (appart from the "check" element, which should only inform the user which element is selected)
GitHub repository
No response
Mock-up(s)
No response
What happened?
No response
What is expected?
There is an obvious visual hihjlight on which element of the list currently has the focus.
To Reproduce
Code example
No response
Is this a regression?
Additional comments
I suggest having the same visuel effect than the hover