Hello,
I've noticed this sporadic error, that can be reproduced on both the Scheduler Pro and Gantt. After zooming out with ctrl + scroll or the zoom buttons and then drag or resize a task(change duration) the component freezes.
The whole browser tab freezes and I couldn't get any errors in the console.
Using latest version of Google Chrome / Windows 10. No scaling.
No, here are some differences between the demo and our page.
We are saving the changes on 'taskDrop' event and updating the gantt once the changes were saved. Everything else should be like the advanced react demo with the gantt + scheduler pro.
Note: This happens sporadically. Maybe once in 10 tries.
Hello @aneventchin, we would still need a showcase because your code above shows that you use redux which needs also reducers and actions. Post please a simplest possible showcase with data (and redux if it is necessary to trigger the error) so that we could run, investigate and debug it.
It is not happening always so it might be a race condition either in the application code or in our component.
We must be doing something differently because I couldn't reproduce the problem. I have changed Gantt/examples/frameworks/react/javascript/basic/src/App.js to:
I'm on Chrome 91.0.4472.164 (Official Build) (x86_64) on MacOS Catalina - I have no windows machine around. I can ask a colleague to to check it on a Windows computer tomorrow.