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

Redesign: Update room filter focus handling to avoid infinite loop #2380

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Dec 20, 2018

The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.

Regressed by #2267.
Fixes element-hq/element-web#7926.

@jryans jryans requested a review from a team December 20, 2018 21:23
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

Looks like the tests are angry about electron still.

Also, if possible, can a reference to when this regressed be put somewhere in this PR? A link the breaking PR would be fine.

@jryans
Copy link
Collaborator Author

jryans commented Dec 20, 2018

Edited top comment to mention regressing PR.

The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.

Regressed by matrix-org#2267.
Fixes element-hq/element-web#7926.
@jryans
Copy link
Collaborator Author

jryans commented Dec 20, 2018

Pushed again just to check the CI fix. Looks like it's working. 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants