You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
We have a disabled prop in the prop type definition of the Interval component, but it is not actually used by the code to disable the interval. Either remove it as we have the max_intervals=0 logic to stop the interval or make it stop the interval.
Actually, we check for disabled only while doing setProps in the interval, but it takes the props from arguments and not this so it isn't updated. It's also the wrong place for that check as the loop will still run after setting disabled.
The disabled props should actually be checked in componentWillReceiveProps and stop the loop if false.
We have a
disabled
prop in the prop type definition of the Interval component, but it is not actually used by the code to disable the interval. Either remove it as we have the max_intervals=0 logic to stop the interval or make it stop the interval.https://community.plot.ly/t/interval-component-cannot-be-disabled-via-callback/14455
Proposed solution:
this.props
.componentWillReceiveProps
.stop the loop if false .The text was updated successfully, but these errors were encountered: