Skip to content

afterChange callback does not trigger if the page is reloaded and navigation is clicked quickly #2424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vladislav-dudkin opened this issue Feb 19, 2025 · 0 comments

Comments

@vladislav-dudkin
Copy link

I encountered an issue where the afterChange callback does not fire if the page is reloaded and then a navigation control (arrow) is clicked immediately.

Steps to reproduce:
Reload the page.
Quickly click on the navigation arrow.

Expected behavior:
The afterChange callback should be triggered as expected.

Actual behavior:
The afterChange callback is not triggered.
I've attached a screenshot showing the result. Let me know if you need any additional details.

https://react-slick.neostack.com/docs/example/slide-change-hooks
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant