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

Prevent user from closing window when not saved. #85

Open
tim-kilian opened this issue Apr 8, 2019 · 1 comment
Open

Prevent user from closing window when not saved. #85

tim-kilian opened this issue Apr 8, 2019 · 1 comment
Labels
feature New feature or request good first issue Good for newcomers

Comments

@tim-kilian
Copy link
Member

Problem

A user could be frustrated when he accidentally closes the window on a not saved active drawing.

Solution

window onunload: when confirm false, prevent default. Check element registery empty / changes.

Additional context

Compare with bpmn-io

@tim-kilian tim-kilian added the feature New feature or request label Apr 8, 2019
@tim-kilian tim-kilian added the good first issue Good for newcomers label Apr 19, 2019
@tim-kilian
Copy link
Member Author

This should happen in the renew-ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant