From 565c9603dadcdfecf2e7726b664f9b9351d63a70 Mon Sep 17 00:00:00 2001 From: Robin Verdier Date: Mon, 11 Oct 2021 14:53:18 +0200 Subject: [PATCH] Add mouseLeave & mouseEnter checks --- lib/transform/classic.js | 2 ++ lib/transform/native.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/transform/classic.js b/lib/transform/classic.js index aea07e0..66d987f 100644 --- a/lib/transform/classic.js +++ b/lib/transform/classic.js @@ -28,6 +28,8 @@ const EVENT_HANDLER_METHODS = [ // Mouse events 'mouseDown', 'mouseUp', + 'mouseEnter', + 'mouseLeave', 'contextMenu', 'click', 'doubleClick', diff --git a/lib/transform/native.js b/lib/transform/native.js index 566dbf1..7ba22e9 100644 --- a/lib/transform/native.js +++ b/lib/transform/native.js @@ -30,6 +30,8 @@ const EVENT_HANDLER_METHODS = [ // Mouse events 'mouseDown', 'mouseUp', + 'mouseEnter', + 'mouseLeave', 'contextMenu', 'click', 'doubleClick',