File tree Expand file tree Collapse file tree
packages/react/src/ActionList Expand file tree Collapse file tree Original file line number Diff line number Diff line change 187187
188188 /* active state [aria-current] */
189189 & : where ([data-active ]),
190- & : where ([aria-selected = 'true' ]) {
190+ & : where ([aria-selected = 'true' ]): not ([ data-selectable ]) {
191191 background : var (--control-transparent-bgColor-selected );
192192
193193 /* provides a visual indication of the current item for Windows high-contrast mode */
Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ const UnwrappedItem = <As extends React.ElementType = 'li'>(
255255 ref = { listSemantics ? forwardedRef : null }
256256 data-variant = { variant === 'danger' ? variant : undefined }
257257 data-active = { active ? true : undefined }
258+ data-selectable = { includeSelectionAttribute ? true : undefined }
258259 data-inactive = { inactiveText ? true : undefined }
259260 data-has-subitem = { slots . subItem ? true : undefined }
260261 data-has-description = { slots . description ? true : false }
You can’t perform that action at this time.
0 commit comments