Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a8926a7

Browse files
committed
Fix E2E icon display
1 parent 4e91d8b commit a8926a7

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/components/views/rooms/E2EIcon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const E2EIcon: React.FC<XOR<UserProps, RoomProps>> = ({
109109
}
110110

111111
return (
112-
<Tooltip label={label} placement={tooltipPlacement} isTriggerInteractive={!!onClick}>
112+
<Tooltip label={label} placement={tooltipPlacement}>
113113
{content}
114114
</Tooltip>
115115
);

test/components/structures/__snapshots__/RoomView-test.tsx.snap

+3-7
Original file line numberDiff line numberDiff line change
@@ -510,13 +510,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
510510
</span>
511511
</div>
512512
</div>
513-
<span
514-
tabindex="0"
515-
>
516-
<div
517-
class="mx_E2EIcon mx_E2EIcon_normal mx_LegacyRoomHeader_icon"
518-
/>
519-
</span>
513+
<div
514+
class="mx_E2EIcon mx_E2EIcon_normal mx_LegacyRoomHeader_icon"
515+
/>
520516
<div
521517
class="mx_LegacyRoomHeader_name mx_LegacyRoomHeader_name--textonly"
522518
>

0 commit comments

Comments
 (0)