fix once and for all

This commit is contained in:
7w1 committed 2026-07-21 00:25:55 -05:00
1 parent 3becee0ded
commit 78bbb1eae5
3 files changed
+11 -12

No files matched your search

+9 -7
View File
@@ -457,13 +457,7 @@ export function RoomNavItem({
marginTop: hideText ? toRem(5) : '0',
userSelect: 'none',
WebkitUserSelect: 'none',
WebkitTouchCallout: 'none',
WebkitTapHighlightColor: 'transparent',
}}
onTouchStart={onTouchStart}
onTouchEnd={onTouchEnd}
onTouchMove={onTouchMove}
onTouchCancel={onTouchCancel}
>
<NavItem
variant="Background"
@@ -491,9 +485,17 @@ export function RoomNavItem({
<NavButton
onClick={handleNavItemClick}
onPointerDown={() => warmupRoomDecryption(mx, room.roomId)}
onTouchStart={onTouchStart}
onTouchEnd={onTouchEnd}
onTouchMove={onTouchMove}
onTouchCancel={onTouchCancel}
aria-label={ariaLabel}
ref={triggerRef}
style={hideTextStyling(hideText)}
style={{
...hideTextStyling(hideText),
WebkitTouchCallout: 'none',
WebkitTapHighlightColor: 'transparent',
}}
>
<NavItemContent style={hideTextStyling(hideText)}>
<Box
@@ -938,7 +938,9 @@ function MessageInternal(
style={{
width: '100%',
WebkitTouchCallout: 'none',
WebkitUserSelect: 'none',
WebkitTapHighlightColor: 'transparent',
userSelect: 'none',
}}
onContextMenu={handleContextMenu}
onTouchStart={onTouchStart}
@@ -27,9 +27,4 @@
html body [data-message-id][data-message-item]:hover {
background-color: transparent !important;
}
* {
-webkit-tap-highlight-color: transparent !important;
-webkit-touch-callout: none !important;
}
}