Describe the bug
The issue is that when first loading sometimes the variables are undefined or null, and this is expecting it to always be a number.
Reproduction
This has to do with ShadCn. Here you go!
https://stackblitz.com/~/github.com/jaysin586/paneforge-1.0.1-issue
Logs
System Info
System:
OS: macOS 15.5
CPU: (20) x64 Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz
Memory: 6.13 GB / 128.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.1 - ~/.volta/tools/image/node/22.17.1/bin/node
Yarn: 1.22.22 - ~/.volta/bin/yarn
npm: 10.9.2 - ~/.volta/tools/image/node/22.17.1/bin/npm
pnpm: 10.6.1 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 138.0.7204.169
Safari: 18.5
npmPackages:
@sveltejs/kit: 2.26.1 => 2.26.1
paneforge: 1.0.1 => 1.0.1
svelte: 5.37.1 => 5.37.1
Severity
blocking an upgrade
Describe the bug
The issue is that when first loading sometimes the variables are undefined or null, and this is expecting it to always be a number.
Reproduction
This has to do with ShadCn. Here you go!
https://stackblitz.com/~/github.com/jaysin586/paneforge-1.0.1-issue
Logs
System Info
System: OS: macOS 15.5 CPU: (20) x64 Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz Memory: 6.13 GB / 128.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.17.1 - ~/.volta/tools/image/node/22.17.1/bin/node Yarn: 1.22.22 - ~/.volta/bin/yarn npm: 10.9.2 - ~/.volta/tools/image/node/22.17.1/bin/npm pnpm: 10.6.1 - ~/Library/pnpm/pnpm Browsers: Chrome: 138.0.7204.169 Safari: 18.5 npmPackages: @sveltejs/kit: 2.26.1 => 2.26.1 paneforge: 1.0.1 => 1.0.1 svelte: 5.37.1 => 5.37.1Severity
blocking an upgrade