Skip to content

Commit

Permalink
Merge pull request #3947 from nextcloud/enh/focus-settings-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Apr 4, 2023
2 parents 2aade31 + bea8e11 commit afb26e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/NcAppSettingsDialog/NcAppSettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ export default {
type: String,
default: '',
},
/**
* Additional elements to add to the focus trap
*/
additionalTrapElements: {
type: Array,
default: () => [],
},
},
emits: ['update:open'],
Expand Down Expand Up @@ -311,6 +320,7 @@ export default {
attrs: {
container: this.container,
size: 'large',
additionalTrapElements: this.additionalTrapElements,
},
on: {
close: () => { this.handleCloseModal() },
Expand Down

0 comments on commit afb26e9

Please sign in to comment.