crabnebula-dev / devtools

Inspect and Debug your Tauri applications in style 💃
https://devtools.crabnebula.dev
Other
225 stars 10 forks source link

fix: autoscroll reactivity #329

Closed johann-crabnebula closed 3 days ago

johann-crabnebula commented 3 days ago

Solid seems to optimize the if statement in the createEffect call, in this case it breaks reactivity for me :/

I rewrote the code to work around this.

netlify[bot] commented 3 days ago

Deploy Preview for cn-devtools-app ready!

Name Link
Latest commit f2eed5978d9d6c7082b82c213d12bd3e57497a93
Latest deploy log https://app.netlify.com/sites/cn-devtools-app/deploys/66836912c4cecc000898d237
Deploy Preview https://deploy-preview-329--cn-devtools-app.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

alex-crabnebula commented 3 days ago

What happened is that you put a non-reactive property before the reactive properties, so if the former is false, the effect never subscribes to the latter.