Open
Description
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
Can you please check my MR and apply it, if it's something that should be done.
Thank you 👊
Metadata
Metadata
Assignees
Labels
No labels
Activity