Skip to content

Avoid flicker of the room list filter on resize#30787

Merged
florianduros merged 3 commits into
developfrom
florianduros/new-room-list/flicker
Sep 16, 2025
Merged

Avoid flicker of the room list filter on resize#30787
florianduros merged 3 commits into
developfrom
florianduros/new-room-list/flicker

Conversation

@florianduros
Copy link
Copy Markdown
Member

@florianduros florianduros commented Sep 16, 2025

Closes #30772

The tests need to be updated because when offsetLeft isn't mocked its value is 0. Previously it wasn't considered at wrapping when to sibling elements had the same offsetLeft, so without mocking all the list was displayed.

@florianduros florianduros added this pull request to the merge queue Sep 16, 2025
Merged via the queue into develop with commit 841f12b Sep 16, 2025
47 of 49 checks passed
@florianduros florianduros deleted the florianduros/new-room-list/flicker branch September 16, 2025 16:35
RiotRobot pushed a commit that referenced this pull request Sep 16, 2025
* fix: avoid flicker of the room list filter on resize

* test: update existing test to render correctly

* test: add test to avoid flicker regression

(cherry picked from commit 841f12b)
github-merge-queue Bot pushed a commit that referenced this pull request Sep 16, 2025
* fix: avoid flicker of the room list filter on resize

* test: update existing test to render correctly

* test: add test to avoid flicker regression

(cherry picked from commit 841f12b)

Co-authored-by: Florian Duros <florianduros@element.io>
Dileep9999 pushed a commit to hemanth-nag/element-web that referenced this pull request Oct 8, 2025
…lement-hq#30794)

* fix: avoid flicker of the room list filter on resize

* test: update existing test to render correctly

* test: add test to avoid flicker regression

(cherry picked from commit 841f12b)

Co-authored-by: Florian Duros <florianduros@element.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport staging Label to automatically backport PR to staging branch T-Defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New room list flickers flickers horribly if screen width is reduced

2 participants