Premium support for our pure JavaScript UI components


Post by AswathyM »

Hi Team
I have upgraded the scheduler to latest version 4.0.5. Only after the upgrade I face this issue. When I move the event from one row to another, the other untouched events are also animating. Why is that so? Please see attached video. Please help.

Attachments
animation.zip
(280.48 KiB) Downloaded 77 times

Post by pmiklashevich »

Please always submit a runnable testcase that shows the issue. Can you reproduce the issue in our demos:

Vanilla: https://bryntum.com/examples/scheduler/animations/
Angular: https://bryntum.com/examples/scheduler/angular/animations/dist/animations/index.html

I have an assumption that you're reloading the dataset and that triggers the animation. Please check your code and make sure you're changing data in existing dataset rather than replace the store with a new data.

Pavlo Miklashevych
Sr. Frontend Developer


Post by AswathyM »

Hello
When any event is moved from one resource to another, the events of those two resources are replaced in the events array with new response from api. This is how it is designed. We have not seen this animation in the older versions of scheduler. We have not observed this animation till v3.1.9 even though the events are updated this way . Any styling changes introduced after this version which is causing this animation ? Please help.


Post by pmiklashevich »

When any event is moved from one resource to another, the events of those two resources are replaced in the events array with new response from api

Why is it needed? If their IDs are the same you can try to use https://www.bryntum.com/docs/scheduler/#Core/data/mixin/StoreSync#config-syncDataOnLoad to update the records instead of replacing them. Let me know if it helps. If it doesn't help, please create a runnable testcase so we can investigate.

Also you can disable the animation:
https://www.bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#config-useInitialAnimation
https://www.bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#config-enableEventAnimations

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply