focus selected page

This commit is contained in:
Freeplay 2023-02-08 21:55:07 -05:00
parent 34f2c957c5
commit 8f43786bee

View file

@ -1,7 +1,7 @@
<template>
<KeepAlive :max="defaultStore.state.numberOfPageCache">
<Suspense>
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)"/>
<component :is="currentPageComponent" :key="key" v-bind="Object.fromEntries(currentPageProps)" tabindex="-1" v-focus/>
<template #fallback>
<MkLoading/>