summaryrefslogtreecommitdiff
path: root/src/components/Global
diff options
context:
space:
mode:
authorSurenNeware <sneware9@in.ibm.com>2020-11-10 17:45:05 +0300
committerDerick Montague <derick.montague@ibm.com>2020-11-13 00:29:07 +0300
commit151dd2491c01e70ed69baf638c22624fae598361 (patch)
tree50fe1100ca3292546c6593bd6731782d55878c29 /src/components/Global
parentedb8a77437d95242ec1ddb98667b0c117a2fb36c (diff)
downloadwebui-vue-151dd2491c01e70ed69baf638c22624fae598361.tar.xz
Add new transition class name
- Modified transition class name needed for vue3. - Add comment for vue version based classes. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I3578ca7c45e71326e38888412a4f36c266b005a0
Diffstat (limited to 'src/components/Global')
-rw-r--r--src/components/Global/LoadingBar.vue4
-rw-r--r--src/components/Global/TableToolbar.vue3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Global/LoadingBar.vue b/src/components/Global/LoadingBar.vue
index 1034de64..0e9551b5 100644
--- a/src/components/Global/LoadingBar.vue
+++ b/src/components/Global/LoadingBar.vue
@@ -80,7 +80,9 @@ export default {
opacity: 1;
transition: opacity $duration--moderate-01 $standard-easing--productive;
height: 0.4rem;
- &.fade-enter,
+
+ &.fade-enter, // Remove this vue2 based only class when switching to vue3
+ &.fade-enter-from, // This is vue3 based only class modified from 'fade-enter'
&.fade-leave-to {
opacity: 0;
}
diff --git a/src/components/Global/TableToolbar.vue b/src/components/Global/TableToolbar.vue
index d22b37fc..4baf8368 100644
--- a/src/components/Global/TableToolbar.vue
+++ b/src/components/Global/TableToolbar.vue
@@ -103,7 +103,8 @@ $toolbar-height: 46px;
.slide-leave-active {
transition: transform $duration--moderate-02 $exit-easing--productive;
}
-.slide-enter,
+.slide-enter, // Remove this vue2 based only class when switching to vue3
+.slide-enter-from, // This is vue3 based only class modified from 'slide-enter'
.slide-leave-to {
transform: translateY($toolbar-height);
}