Skip to content

Conversation

langleyd
Copy link
Member

@langleyd langleyd commented Aug 22, 2025

Reduces the rendering time when scrolling and might help alleviate #30610

@@ -141,7 +146,7 @@ export const RoomListItemView = memo(function RoomListItemView({
</Flex>
);

if (!vm.showContextMenu) return content;
if (!vm.showContextMenu || listIsScrolling) return content;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment will be great to explain why we don't want to display the context menu when scrolling

…com:vector-im/element-web into langleyd/dontRenderContextMenuWhenScrolling
@langleyd langleyd added this pull request to the merge queue Aug 26, 2025
Merged via the queue into develop with commit 14d1636 Aug 26, 2025
35 checks passed
@langleyd langleyd deleted the langleyd/dontRenderContextMenuWhenScrolling branch August 26, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants