From ad2b5e0a68d1f39d540ca40f18e6df6c3380fa8c Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Mon, 26 Aug 2024 00:44:30 -0500 Subject: [PATCH] fix(native): don't bind events to GLView --- packages/fiber/src/native/Canvas.tsx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/fiber/src/native/Canvas.tsx b/packages/fiber/src/native/Canvas.tsx index b39f5437a3..23d008103e 100644 --- a/packages/fiber/src/native/Canvas.tsx +++ b/packages/fiber/src/native/Canvas.tsx @@ -223,17 +223,10 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef( }, [canvas]) return ( - - - {width > 0 && ( - - )} - + + {width > 0 && ( + + )} ) },