diff options
author | Julia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com> | 2024-02-06 13:25:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 13:25:02 +0100 |
commit | 57d12459b562f76504e940059f22ed75d923f3ed (patch) | |
tree | 13b43fdef3b0c1b09d6366ac7274a5c89ab27a53 /apps | |
parent | ee6a62a8c17ef6df29ab02a2882b254e9918f88c (diff) | |
parent | 6a7fc2cf82b2c6b7092301efa184a6cb4d151049 (diff) | |
download | nextcloud-server-57d12459b562f76504e940059f22ed75d923f3ed.tar.gz nextcloud-server-57d12459b562f76504e940059f22ed75d923f3ed.zip |
Merge pull request #43358 from nextcloud/fix/settings--focus-on-federation-scope-after-dialog
fix(settings): focus on federation scope after dialog
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/VisibilityDropdown.vue | 1 | ||||
-rw-r--r-- | apps/settings/src/components/PersonalInfo/shared/FederationControl.vue | 6 |
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) { |