mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
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:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user