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

gmf-displaywindow - drag/resize on same div #3189

Merged
merged 2 commits into from
Nov 30, 2017
Merged

Conversation

adube
Copy link
Contributor

@adube adube commented Nov 30, 2017

When the gmf-displaywindow was made smaller using the jQueryUI resizable widget, the parent div was keeping the original size. That parent div had the jQueryUI draggable widget on it, which allows the window to be dragged even when seemed to be dragging outside the window.

To fix this, both widgets now interact with the same div: the first div within the widget (at the root).

@adube adube requested a review from fredj November 30, 2017 13:55
@adube
Copy link
Contributor Author

adube commented Nov 30, 2017

@fredj After trying to change the displayquerywindow as well, I was going with the 'parent div' route and it did not work. It was working for the displaywindow.

So, I changed to your solution (used the container instead) and it worked for both.

Ready for review.

Copy link
Member

@fredj fredj left a comment

Choose a reason for hiding this comment

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

Thanks, please merge when travis is happy

@adube
Copy link
Contributor Author

adube commented Nov 30, 2017

@fredj I won't be able to unless you accept the PR :)

@adube adube merged commit 9da48f8 into master Nov 30, 2017
@adube adube deleted the 171-fix-displaywindow-drag branch November 30, 2017 16:03
@sbrunner sbrunner added this to the 2.3 milestone Apr 12, 2018
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.

3 participants