-
-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
Hey 👋
Thanks for maintaining this library.
Probably just what you wanted after the most recent release - another workerd issue 👀. Albeit this one I think is a bit simpler.
When running in a cloudflare worker / wrangler - I get the following:
Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope
Having debugged the issue it spans from this line here where the AbortController is created in the global scope:
https://github.com/bvaughn/react-resizable-panels/blob/main/packages/react-resizable-panels/src/PanelResizeHandleRegistry.ts#L303
I think it will be a pretty simple fix (which is why I haven't shared a Minimal reproduction or more details about my setup). I'll take a look and see if I can get a PR together later to fix - but thought i'd raise in case anyone else stumbled upon it.
James
alekhinen and arthurrmp
Metadata
Metadata
Assignees
Labels
No labels