Merge pull request #5616 from nextcloud-libraries/backport/5613/next
[next] fix(NcAppSidebar): remove hidden navigation toggle from focus trap
This commit is contained in:
Коммит
d71d6209af
|
@ -906,9 +906,6 @@ export default {
|
|||
this.$refs.sidebar,
|
||||
// Nextcloud Server header navigarion
|
||||
document.querySelector('#header'),
|
||||
// The app navigation toggle. Navigation can be opened above the sidebar
|
||||
// Take the parent element, because the focus-trap requires a container with elements, not the element itself
|
||||
document.querySelector('[aria-controls="app-navigation-vue"]')?.parentElement,
|
||||
], {
|
||||
allowOutsideClick: true,
|
||||
fallbackFocus: this.$refs.closeButton,
|
||||
|
|
Загрузка…
Ссылка в новой задаче