People: Disable tabs transition to improve UI performance #2182

May help improve rendering performance on slow devices.
Feedback welcome!
This commit is contained in:
Michael Mayer 2022-04-03 15:06:31 +02:00
parent 4c583f7f1d
commit bb09c43c49
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
/* Transitions */
.no-transition {
transition: none;
}
/* Animations */
@-webkit-keyframes rainbow {

View file

@ -23,7 +23,7 @@
</v-tab>
<v-tabs-items touchless>
<v-tab-item v-for="(item, index) in tabs" :key="index" lazy>
<v-tab-item v-for="(item, index) in tabs" :key="index" :transition="false" class="no-transition" lazy>
<component :is="item.component" :static-filter="item.filter" :active="active === index"
@updateFaceCount="onUpdateFaceCount"></component>
</v-tab-item>