Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Allow dragging dialog from div container #166

Merged
merged 4 commits into from
Mar 5, 2020

Conversation

DiegoCardoso
Copy link
Contributor

Dialog Flow has a div container where all child element are appended to. That prevented the dialog from being dragged when it started from that container.

vaadin-dialog@#2.3.0-alpha3 allows to set a class "draggable" to mark an element inside the dialog as a valid dragging target.

Fixes #165

Dialog Flow has a div container where all child element are appended
to. That prevented the dialog from being dragged when it started
from that container.

vaadin-dialog@#2.3.0-alpha3 allows to set a class "draggable" to
mark an element inside the dialog as a valid dragging target.

Fixes #165
tomivirkki
tomivirkki previously approved these changes Mar 5, 2020
@vaadin-bot
Copy link

SonarQube analysis reported 6 issues

  • CRITICAL 1 critical
  • MINOR 5 minor

Watch the comments in this conversation to review them.

5 extra issues

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. MINOR DialogTestPage.java#L37: Remove the "eventCounter" field and declare it as a local variable in the relevant methods. rule
  2. MINOR DialogTestPage.java#L37: Remove the "eventCounter" field and declare it as a local variable in the relevant methods. rule
  3. MINOR Dialog.java#L232: Move this constructor to comply with Java Code Conventions. rule
  4. MINOR Dialog.java#L559: Remove this method to simply inherit it. rule
  5. MINOR Dialog.java#L572: Remove this method to simply inherit it. rule

@DiegoCardoso DiegoCardoso merged commit a8e2689 into 2.1 Mar 5, 2020
@DiegoCardoso DiegoCardoso deleted the dx/make-default-div-draggable branch March 5, 2020 12:52
DiegoCardoso added a commit that referenced this pull request Mar 5, 2020
Dialog Flow has a div container where all child element are appended
to. That prevented the dialog from being dragged when it started
from that container.

vaadin-dialog@#2.3.0-alpha3 allows to set a class "draggable" to
mark an element inside the dialog as a valid dragging target.

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

None yet

3 participants