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

[stable28] fix(settings): focus on federation scope after dialog #43388

Merged
merged 4 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
:clearable="false"
:options="visibilityOptions"
:value="visibilityObject"
label-outside
@option:selected="onVisibilityChange" />
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
-->

<template>
<NcActions class="federation-actions"
<NcActions ref="federationActions"
class="federation-actions"
:class="{ 'federation-actions--additional': additional }"
:aria-label="ariaLabel"
:default-icon="scopeIcon"
Expand Down Expand Up @@ -151,6 +152,9 @@ export default {
} else {
await this.updateAdditionalScope(scope)
}

// TODO: provide focus method from NcActions
this.$refs.federationActions.$refs.menuButton.$el.focus()
},

async updatePrimaryScope(scope) {
Expand Down