Browse Source

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
pull/4298/head
afe1 2 years ago
committed by GitHub
parent
commit
67f3d63066
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue

3
packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue

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

Loading…
Cancel
Save