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

Fix: only hide clear filter button when blurred & no more search term #3432

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Sep 12, 2019

Fixes element-hq/element-web#10842

The bug occurred because clicking the x would cause a blur event to fire first, it would hide the x button, and then the click even would never fire. This fixes it by keeping the x button on blur if there is still text, which is a good thing to do anyway.

@bwindels bwindels requested a review from a team September 12, 2019 15:18
@bwindels
Copy link
Contributor Author

Going to merge as the e2e test error is unrelated.

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.

The X in the room search currently does not work
2 participants