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

fix: issues with closing editor in dirty state #11094

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

JammingBen
Copy link
Collaborator

Description

  • fix: button focus when closing editor with unsaved changes
  • fix: browser confirmation dialog after closing editor

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

Closing an editor with unsaved changes now correctly focues the "Save"-button in the modal. Note that this only affects the custom modal and not the default browser popup, since we can't controll this.
@JammingBen JammingBen self-assigned this Jun 25, 2024
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Copy link

sonarcloud bot commented Jun 25, 2024

@AlexAndBear AlexAndBear merged commit 5efd63e into stable-8.0 Jun 28, 2024
3 checks passed
@kulmann kulmann deleted the fix/closing-editors-with-unsaved-changes branch September 5, 2024 19:51
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