Open Mheaus opened 4 months ago
Thanks for the report and the video - it definitely helps. Is there a way to share the machine (either a link or the exported code)?
Sadly it's on a private project, but I can work on a repro ! I'll let you know.
This happens for us as well. It seems to reset the zoom whenever the inspector receives an event. In our case, it receives dozens of events per second, so the zoom resetting makes the inspector almost unusable.
This happens for us as well. It seems to reset the zoom whenever the inspector receives an event. In our case, it receives dozens of events per second, so the zoom resetting makes the inspector almost unusable.
Understood. We will have a fix for this soon.
Sorry for the delay here; still working on this. We are overhauling the canvas layer which will introduce many performance improvements and features.
Sorry for the delay here; still working on this. We are overhauling the canvas layer which will introduce many performance improvements and features.
No problem, take your time. 👍
Can I help in any way?
Any updates on this issue? My machine is quite big, I cannot read anything without zooming in. The frequent resetting of the zoom makes the inspector almost impossible to use.
I am starting to regret upgrading to v5. Is there a way to use the old viszalizer with v5 until the issues with the new inspector are resolved?
Hello 👋
I've been using the new version of inspect with the last release of xstate and react for a few months now. I've noticed slow performance and issues when trying to move the view accross the canvas.
When I'm moving the view with a trackpad or by zooming, it'll lag and reset the zoom to fit the window.
It seems to refresh too much?
I hope this little video will help you identify the issue and if I can help in any way please let me know 🙏 .
https://github.com/statelyai/inspect/assets/29288173/43289306-f4eb-4c5c-8936-6bf6e5a93971