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(settings): focus on federation scope after dialog #43358

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Feb 5, 2024

Summary

NcActions returns focus to the trigger button by default. However, on the federation scope menu, changing the scope triggers a password confirmation dialog which then loses the focus.

Focusing manually after change.

image

Probably, we should also have setReturnFocus on password confirmation dialog.

Checklist

@ShGKme
Copy link
Contributor Author

ShGKme commented Feb 5, 2024

/backport to stable28

@@ -31,6 +31,7 @@
:clearable="false"
:options="visibilityOptions"
:value="visibilityObject"
label-outside
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes
image

Copy link
Contributor

@JuliaKirschenheuter JuliaKirschenheuter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works well! Thank you!

@ShGKme ShGKme force-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from 680d45c to db16ee8 Compare February 5, 2024 19:43
ShGKme and others added 2 commits February 6, 2024 10:47
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme force-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from db16ee8 to 18a3739 Compare February 6, 2024 09:47
@ShGKme
Copy link
Contributor Author

ShGKme commented Feb 6, 2024

Rebased onto master

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme ShGKme force-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from 18a3739 to 6a7fc2c Compare February 6, 2024 10:18
@JuliaKirschenheuter JuliaKirschenheuter merged commit 57d1245 into master Feb 6, 2024
85 checks passed
@JuliaKirschenheuter JuliaKirschenheuter deleted the fix/settings--focus-on-federation-scope-after-dialog branch February 6, 2024 12:25
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants