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

Better error handling trying to enable HTML5 DnD for mobile from thread #12170

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

Ansku
Copy link
Member

@Ansku Ansku commented Dec 7, 2020

  • Informative error message
  • Reset back to disabled state when enabling fails
  • Incorrect usage also detectable using non-mobile devices

Fixes #12152


This change is Reviewable

- Informative error message
- Reset back to disabled state when enabling fails
- Incorrect usage also detectable using non-mobile devices

Fixes vaadin#12152
@TatuLund TatuLund added this to the 8.12.2 milestone Dec 7, 2020
Copy link
Contributor

@TatuLund TatuLund left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

@Ansku Ansku merged commit 49f7039 into vaadin:master Dec 7, 2020
Ansku added a commit that referenced this pull request Dec 18, 2020
…ad (#12170)

- Informative error message
- Reset back to disabled state when enabling fails
- Incorrect usage also detectable using non-mobile devices

Fixes #12152
Ansku added a commit that referenced this pull request Dec 18, 2020
…ad (#12170) (#12175)

- Informative error message
- Reset back to disabled state when enabling fails
- Incorrect usage also detectable using non-mobile devices

Fixes #12152
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.

NPE when calling UI.setMobileHtml5DndEnabled() from ui.access
2 participants