Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enter error before overlay initalized and overlay opening on clear-button click #657

Merged
merged 2 commits into from
May 7, 2019

Conversation

pekam
Copy link
Contributor

@pekam pekam commented May 6, 2019

two fixes in two commits


This change is Reviewable

pekam added 2 commits May 6, 2019 11:06
The overlay should not be opened when clicking the clear-button. This
functionality broke with a failing test case after text-field 2.4
update, which fires an input-event on clear-button click.

Since we don't know if the input-event was fired from a clear-button
click or keyboard-input, the opening is prevented every time when the
input value is empty. As a tradeoff, this causes a rare issue: When the
input is focused, overlay is not opened and the input is cleared with a
single keypress, the overlay is not opened.
@pekam pekam merged commit 488127e into master May 7, 2019
@pekam pekam deleted the fix-enter-error-before-overlay-initalized branch May 7, 2019 09:06
@pekam pekam removed the in review label May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants