summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com>2024-02-06 14:37:06 +0100
committerGitHub <noreply@github.com>2024-02-06 14:37:06 +0100
commit2f6b641011d9c3b0f9d5eebe46821d6b14b7224d (patch)
tree169e7d34ea5b2a241850c7360f89e8e200846fc6 /apps
parenta523a8795106bb583ef0a0bbe41553b04a77cae1 (diff)
parent87dde68b18aabaab1bbed64e218efeccea038e7e (diff)
downloadnextcloud-server-2f6b641011d9c3b0f9d5eebe46821d6b14b7224d.tar.gz
nextcloud-server-2f6b641011d9c3b0f9d5eebe46821d6b14b7224d.zip
Merge pull request #43388 from nextcloud/backport/43358/stable28
[stable28] fix(settings): focus on federation scope after dialog
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue1
-rw-r--r--apps/settings/src/components/PersonalInfo/shared/FederationControl.vue6
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue b/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue
index 305410156a2..0c01368c149 100644
--- a/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue
+++ b/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue
@@ -31,6 +31,7 @@
:clearable="false"
:options="visibilityOptions"
:value="visibilityObject"
+ label-outside
@option:selected="onVisibilityChange" />
</div>
</template>
diff --git a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
index cfe5b0dcee7..bf22c0ac081 100644
--- a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
+++ b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
@@ -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"
@@ -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) {