Skip to content
Snippets Groups Projects
Commit 54b43da8 authored by B. Sc Pius Gyamenah's avatar B. Sc Pius Gyamenah :speech_balloon: Committed by Ron Lucke
Browse files

Biest #1168

Closes #1058

Merge request studip/studip!900
parent aa214d36
No related branches found
No related tags found
No related merge requests found
<template>
<focus-trap v-model="trap" :initial-focus="() => initialFocusElement" :clickOutsideDeactivates="true">
<focus-trap v-model="trap" :initial-focus="() => initialFocusElement" :clickOutsideDeactivates="true" :fallbackFocus ="() => fallbackFocusElement">
<div
class="cw-ribbon-tools"
:class="{ unfold: toolsActive, 'cw-ribbon-tools-consume': consumeMode }"
......@@ -137,6 +137,9 @@ export default {
isTeacher() {
return this.userIsTeacher;
},
fallbackFocusElement(){
return this.$refs.tabs.getTabButtonByAlias(this.selectedToolbarItem);
}
},
methods: {
...mapActions({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment