Skip to content

Beautiful Open-Source Form Builder

Fix sibebar disapear animation

Julien Nahuma34ae4a65fb1
diff --git a/client/components/open/editors/EditorRightSidebar.vue b/client/components/open/editors/EditorRightSidebar.vue
index 26c2257e8..5349cda79 100644
--- a/client/components/open/editors/EditorRightSidebar.vue
+++ b/client/components/open/editors/EditorRightSidebar.vue
@@ -1,5 +1,5 @@
<template>
- <transition @leave="(el,done) => sidebarMotion.leave(done)">
+ <transition @leave="(el,done) => sidebarMotion?.leave(done)">
<div v-if="show" ref="sidebar"
class="absolute shadow-lg shadow-gray-800/30 top-0 h-[calc(100vh-53px)] right-0 lg:shadow-none lg:relative bg-white w-full md:w-1/2 lg:w-2/5 border-l overflow-y-scroll md:max-w-[20rem] flex-shrink-0 z-50"
>