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

Modal window draggingCurtain lingers when closed while dragging #7496

Closed
vaadin-bot opened this issue Feb 8, 2016 · 1 comment
Closed

Modal window draggingCurtain lingers when closed while dragging #7496

vaadin-bot opened this issue Feb 8, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@vaadin-bot
Copy link
Collaborator

Originally by sebgymn


A modal window places a div with class v-window-draggingCurtain that effectively disallows user to click the background. However, in certain cases, after the window is closed, this element does not go away, rendering the whole application unusable.

STR:

  1. Bind escape button (I have not tried other buttons) for closing the window: window.addCloseShortcut(ShortcutAction.KeyCode.ESCAPE)
  2. On the screen, while dragging the window from its title (while the mouse button is still down), hit escape button to close the window.
  3. The draggingCurtain does not go away and you cannot interact with the application (until you delete that element from the browser inspector).

This can also be observed in https://demo.vaadin.com/valo-theme/#!common
Open a closable modal window and apply step 2.

Thank you.


Imported from https://dev.vaadin.com/ issue #19574

@vaadin-bot vaadin-bot added the bug label Dec 10, 2016
@TatuLund
Copy link
Contributor

TatuLund commented Jan 4, 2017

Yes, the issue can be easily replicated with the valo demo application.

@ahie ahie self-assigned this Jan 19, 2017
@ahie ahie changed the title Model window draggingCurtain lingers when closed while dragging Modal window draggingCurtain lingers when closed while dragging Jan 19, 2017
@tsuoanttila tsuoanttila added this to the 7.7.7 milestone Jan 19, 2017
@ahie ahie closed this as completed Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants