Skip to content

Navigation Menu

Sign in
Sign up

[stable33] fix: Restore editor focus on Save As modal close - #5478

Draft
backportbot[bot] wants to merge 1 commit into
stable33 from
backport/5474/stable33
Draft

[stable33] fix: Restore editor focus on Save As modal close #5478
backportbot[bot] wants to merge 1 commit into
stable33 from
backport/5474/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Mar 11, 2026
edited
Loading

Copy link
Copy Markdown

Backport of #5474

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

When the Save As dialog is dismissed (via Cancel or Esc), focus was not returning to the document iframe. This change restores focus to the document iframe by sending a Grab_Focus postMessage before the close event.
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
[skip ci]
@backportbot backportbot Bot added bug Something isn't working 3. to review Ready to be reviewed labels Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@juliusknorr juliusknorr Awaiting requested review from juliusknorr juliusknorr is a code owner
@codewithvk codewithvk Awaiting requested review from codewithvk
@elzody elzody Awaiting requested review from elzody elzody will be requested when the pull request is marked ready for review elzody is a code owner

At least 1 approving review is required to merge this pull request.

Labels

3. to review Ready to be reviewed bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /