From 0d8197a19077a0c00ec2841ebfb0d97ea9a462dc Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Sun, 25 Aug 2024 23:48:45 -0600 Subject: [PATCH 1/3] fix(native): don't bind events to GLView (#3341) --- 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 && ( + + )} ) }, From 66c3e9fec76a37467d199cb5b05ebaec0ac720de Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Mon, 26 Aug 2024 00:49:39 -0500 Subject: [PATCH 2/3] docs(changeset): fix(native): don't bind events to GLView --- .changeset/hungry-onions-build.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/hungry-onions-build.md diff --git a/.changeset/hungry-onions-build.md b/.changeset/hungry-onions-build.md new file mode 100644 index 0000000000..4e84c913a9 --- /dev/null +++ b/.changeset/hungry-onions-build.md @@ -0,0 +1,5 @@ +--- +'@react-three/fiber': patch +--- + +fix(native): don't bind events to GLView From 3200547951f0f4c0b6859f5848012cf9d003cb70 Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Mon, 26 Aug 2024 00:49:42 -0500 Subject: [PATCH 3/3] RELEASING: Releasing 1 package(s) Releases: @react-three/fiber@8.17.6 [skip ci] --- .changeset/hungry-onions-build.md | 5 ----- packages/fiber/CHANGELOG.md | 6 ++++++ packages/fiber/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/hungry-onions-build.md diff --git a/.changeset/hungry-onions-build.md b/.changeset/hungry-onions-build.md deleted file mode 100644 index 4e84c913a9..0000000000 --- a/.changeset/hungry-onions-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-three/fiber': patch ---- - -fix(native): don't bind events to GLView diff --git a/packages/fiber/CHANGELOG.md b/packages/fiber/CHANGELOG.md index 2ffe867f62..f76e744565 100644 --- a/packages/fiber/CHANGELOG.md +++ b/packages/fiber/CHANGELOG.md @@ -1,5 +1,11 @@ # @react-three/fiber +## 8.17.6 + +### Patch Changes + +- 66c3e9fe: fix(native): don't bind events to GLView + ## 8.17.5 ### Patch Changes diff --git a/packages/fiber/package.json b/packages/fiber/package.json index 497f1e0c87..e866692ead 100644 --- a/packages/fiber/package.json +++ b/packages/fiber/package.json @@ -1,6 +1,6 @@ { "name": "@react-three/fiber", - "version": "8.17.5", + "version": "8.17.6", "description": "A React renderer for Threejs", "keywords": [ "react",