-
-
Notifications
You must be signed in to change notification settings - Fork 9
PaneResizer misbehaves and throws error when using the experimental async feature #89
Copy link
Copy link
Open
Description
Describe the bug
As the title suggests, the PaneResizer fails to handle drag events when awaiting states to resolve. This behaviour is however very inconsistent. In the reproduction project this behaviour resolves itself after a few seconds, but with larger projects, the behaviour fully breaks, outputting only a assertion error.
Reproduction
Repo: https://github.com/Blade67/paneforge-async-minimal-reprod
Logs
Assertion failed!
assert @ assert.js:5
adjustLayoutByDelta @ adjust-layout.js:81
(anonymous) @ paneforge.svelte.js:136
onMove @ paneforge.svelte.js:437
(anonymous) @ events.js:61
without_reactive_context @ shared.js:44
target_handler @ events.js:60Understand this error
assert.js:6 Uncaught Error: Assertion failed!
at assert (assert.js:6:15)
at adjustLayoutByDelta (adjust-layout.js:81:13)
at paneforge.svelte.js:136:32
at HTMLBodyElement.onMove (paneforge.svelte.js:437:17)
at events.js:61:21
at without_reactive_context (shared.js:44:10)
at HTMLBodyElement.target_handler (events.js:60:11)
assert @ assert.js:6
adjustLayoutByDelta @ adjust-layout.js:81
(anonymous) @ paneforge.svelte.js:136
onMove @ paneforge.svelte.js:437
(anonymous) @ events.js:61
without_reactive_context @ shared.js:44
target_handler @ events.js:60Understand this errorSystem Info
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 13th Gen Intel(R) Core(TM) i7-13620H
Memory: 5.86 GB / 31.62 GB
Binaries:
Node: 24.0.2 - C:\nvm4w\nodejs\node.EXE
npm: 11.3.0 - C:\nvm4w\nodejs\npm.CMD
bun: 1.2.17 - ~\.bun\bin\bun.EXE
Browsers:
Edge: Chromium (136.0.3240.76)Severity
annoyance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels