From 116e89f01cac53fdb3dbb718b745c3c243fe8759 Mon Sep 17 00:00:00 2001 From: iseulde Date: Fri, 20 Sep 2019 21:56:04 +0300 Subject: [PATCH] Hide hover effect on mouseleave --- packages/block-editor/src/components/block-list/block.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-editor/src/components/block-list/block.js b/packages/block-editor/src/components/block-list/block.js index f076c063eece94..fb1b6565a89cd4 100644 --- a/packages/block-editor/src/components/block-list/block.js +++ b/packages/block-editor/src/components/block-list/block.js @@ -374,6 +374,8 @@ function BlockListBlock( { onSelectionStart( clientId ); } + hideHoverEffects(); + isPointerDown.current = false; };