On Carosel change getting error in browser console.

Hi all,


I have implemented carousel in my mobile application.

Functionality wise it is working fine, but on the browser console i am getting following error.

Can anyone help me on this?

Logger.js:381 Controller [2020-01-23T13:35:04.059Z]: Invalid call of the 'ChangeIsAnimatingStatus' client action of the 'MainFlow.HomeScreen' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.
ControllerDisposedException: Invalid call of the 'ChangeIsAnimatingStatus' client action of the 'MainFlow.HomeScreen' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.


Thanks in advance :)


Can you share a small OML that reproduces the issue?

Are you using any custom JavaScript in the app, including setTimeout?