Pārlūkot izejas kodu

fix: the fixedbutton changes state and the view cannot scroll (#4297)

* fix: change fixbutton content can't scroll

* fix: change fixbutton content can't scroll
afe1 7 mēneši atpakaļ
vecāks
revīzija
67f3d63066

+ 1 - 2
packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue

@@ -223,12 +223,11 @@ function handleMouseenter() {
 
 function handleMouseleave() {
   emit('leave');
-
+  isLocked.value = false;
   if (expandOnHover.value) {
     return;
   }
 
-  isLocked.value = false;
   expandOnHovering.value = false;
   collapse.value = true;
   extraVisible.value = false;