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

Closing an editor with a dirty state does not remove the beforeunload listener #11092

Closed
Tracked by #9567
JammingBen opened this issue Jun 24, 2024 · 1 comment
Closed
Tracked by #9567
Assignees
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@JammingBen
Copy link
Collaborator

Describe the bug

As per title. That means after the editor has been closed, reloading the page still shows the browser popup asking the user if they want to leave the page.

Steps to reproduce

  1. Open some text document with the text-editor app
  2. Change something, don't save
  3. Hit the "back"-button in your browser
  4. Hit any button in the modal, doesn't matter
  5. In the files list, try reloading the page

Expected behavior

The page gets reloaded.

Actual behavior

The browser is asking the user if they want to leave the page.

@JammingBen JammingBen added Type:Bug Something isn't working Priority:p3-medium Normal priority labels Jun 24, 2024
@JammingBen JammingBen self-assigned this Jun 25, 2024
@kulmann
Copy link
Member

kulmann commented Jun 28, 2024

Closed via #11094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants