From cd9ff0162f81d049a36b08bdbd1805564bf4b03b Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Wed, 14 Feb 2024 17:58:23 -0500 Subject: [PATCH] Fix incorrect property reference --- .../react-resizable-panels/src/PanelResizeHandleRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-resizable-panels/src/PanelResizeHandleRegistry.ts b/packages/react-resizable-panels/src/PanelResizeHandleRegistry.ts index b0044efa4..34211e856 100644 --- a/packages/react-resizable-panels/src/PanelResizeHandleRegistry.ts +++ b/packages/react-resizable-panels/src/PanelResizeHandleRegistry.ts @@ -269,7 +269,7 @@ function updateListeners() { window.removeEventListener("touchcancel", handlePointerUp); window.removeEventListener("touchend", handlePointerUp); - if (registerResizeHandle.length > 0) { + if (registeredResizeHandlers.size > 0) { if (isPointerDown) { if (intersectingHandles.length > 0) { ownerDocumentCounts.forEach((count, ownerDocument) => {