Fix hover/focus bg overriding active bg in ConversationList
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
parent
d6cc067507
commit
17ea2b58de
8 changed files with 40 additions and 40 deletions
|
@ -27,6 +27,7 @@ export type Props = {
|
|||
// defaults to div
|
||||
rootElement?: 'div' | 'button';
|
||||
testId?: string;
|
||||
'aria-selected'?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -80,6 +81,7 @@ const ListTileImpl = React.forwardRef<HTMLButtonElement, Props>(
|
|||
variant = 'item',
|
||||
rootElement = 'div',
|
||||
testId,
|
||||
...ariaProps
|
||||
}: Props,
|
||||
ref
|
||||
) {
|
||||
|
@ -97,6 +99,7 @@ const ListTileImpl = React.forwardRef<HTMLButtonElement, Props>(
|
|||
'aria-disabled': disabled ? true : undefined,
|
||||
onContextMenu,
|
||||
'data-testid': testId,
|
||||
...ariaProps,
|
||||
};
|
||||
|
||||
const contents = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue