File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
contentcuration/contentcuration/frontend/channelEdit/components Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1616 @scroll =" $emit('scroll', $event)"
1717 >
1818 <div
19+ ref =" rootEl"
1920 class =" pa-4"
2021 style =" margin-bottom : 64px "
2122 >
4344
4445<script >
4546
47+ import { ref } from ' vue' ;
4648 import ResourcePanel from ' ./ResourcePanel' ;
4749 import ResizableNavigationDrawer from ' shared/views/ResizableNavigationDrawer' ;
50+ import { useFocusTrap } from ' shared/views/TipTapEditor/TipTapEditor/composables/useFocusTrap' ;
4851
4952 export default {
5053 name: ' ResourceDrawer' ,
5154 components: {
5255 ResizableNavigationDrawer,
5356 ResourcePanel,
5457 },
58+ setup () {
59+ const rootEl = ref (null );
60+
61+ useFocusTrap (rootEl);
62+
63+ return {
64+ rootEl,
65+ };
66+ },
5567 props: {
5668 // key for sessionStorage to store width data at
5769 localName: {
You can’t perform that action at this time.
0 commit comments