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
Steps To Reproduce
I destroy locomotive scroll instance during resize and it causes _resize function to be called after destroy method.
And it throws an error.
Expected behavior
After destroy nothing fails
I've fixed this bug by cancelling requested animation frames in destroy method
Can you please check my MR and apply it, if it's something that should be done.
Thank you 👊
The text was updated successfully, but these errors were encountered:
whiteand
changed the title
When I destroy locomotive scroll application fails because of _resize function called from requested frame
Destroy during resize throws an error
Oct 7, 2021
Hello 👋
Steps To Reproduce
I destroy locomotive scroll instance during resize and it causes _resize function to be called after destroy method.
And it throws an error.
Expected behavior
After destroy nothing fails
I've fixed this bug by cancelling requested animation frames in destroy method
#337
Can you please check my MR and apply it, if it's something that should be done.
Thank you 👊
The text was updated successfully, but these errors were encountered: