Commit 67f3d630 by afe1 Committed by GitHub

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
1 parent 277e98c4
...@@ -223,12 +223,11 @@ function handleMouseenter() { ...@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!