Room list: display the menu option on the room list item when clicked/opened (#31380)
* fix: display the menu option on the room list item when clicked/opened Fix #31366 `onBlur` was called when the room is opened, the focus is moved to the composr. The hover state was removed. The hover state is diplayed when `ìsFocused=true` so the keyboard navigation is not impacted * test: update room list e2e tests * test: update marked as unread state
This commit is contained in:
@@ -98,7 +98,6 @@ export const RoomListItemView = memo(function RoomListItemView({
|
||||
onFocus={(e: React.FocusEvent<HTMLButtonElement>) => onFocus(room, e)}
|
||||
onMouseOver={() => setHover(true)}
|
||||
onMouseOut={() => setHover(false)}
|
||||
onBlur={() => setHover(false)}
|
||||
tabIndex={isFocused ? 0 : -1}
|
||||
{...props}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user