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: Make it possible to add and remove shortcut listener in compatib… #12203

Merged
merged 12 commits into from
Feb 16, 2021

Conversation

TatuLund
Copy link
Contributor

@TatuLund TatuLund commented Feb 15, 2021

…ility TextField

There was regression due earlier bugfix #11871

Or more precisely the fix was not complete.

There was special handling of TextField and TextArea in Vaadin 7, which actually have functioning flush method in their connector

https://github.com/vaadin/framework/blob/7.7/client/src/main/java/com/vaadin/client/ui/ShortcutActionHandler.java#L161

This patch re-indroduces the special handling without of need of re-introducing BeforeShortcutActionListener mechanism.


This change is Reviewable

Copy link
Member

@Ansku Ansku left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Ansku Ansku merged commit b3d80da into master Feb 16, 2021
@Ansku Ansku deleted the compat-textfield-shortcut branch February 16, 2021 11:17
@TatuLund TatuLund added this to the 8.12.4 milestone Feb 17, 2021
OlliTietavainenVaadin pushed a commit that referenced this pull request Mar 5, 2021
…2221)

* fix: Focus-activated shortcut listener in compatibility TextField (#12203)
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