My server-side Blazor app calls multiple times a javascript function that is supposed to move a div around (using setInterval).The issue is that the function does not wait for the previous call to finish. As a result, the DOM is changed from different js interops at the same time which leads to unpredictable results. I was expecting the calls to be stacked up and run one by one.Do you have an idea how can I solve this issue? Thanks a lot!
↧