-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
pause(), play() methods are not working? #15
Comments
Any update on this issue? @NaotoshiFujita OR @korneliusz-buczkowski-lemisoft |
is this project dead or what? 😡 |
I think it is because you are calling it inmediately after mounting it, I replicated your issue but then wrapped inside a setTimeOut function and it worked `function createSlider() { splide.mount(window.splide.Extensions); setTimeout(() => { Maybe if you don't want it to play on load, you should use the intersection extension |
Why is there a need to employ |
It was just a quick test but Splide also have hooks, maybe one of those
would work. Anyway, it's ok if you prefer to use a different tool :)
El El dom, 25 de feb. de 2024 a la(s) 12:24 a. m., Kumar Deepak <
***@***.***> escribió:
… Why is there a need to employ setTimeout for running the methods? It
should be the default functionality, especially when it's already loading
after DOMContentLoaded. Regardless, I have decided not to use Splide
anymore. 🙏
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP2Q272HQBNVAHQJPRKN7WLYVLDHBAVCNFSM6AAAAABBS3EOUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSHAYTQMJZGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I also couldn't use those methods, so I used useToggleButton instead. 😛
|
Checks
Version
v0.5.3
Description
Methods of
splide-extension-auto-scroll
are not working. Below is sample code for reference.NOTE:
@splidejs/splide = 4.1.4
@splidejs/splide-extension-auto-scroll = v0.5.3
Reproduction Link
https://codesandbox.io/p/devbox/splide-autoscroll-issue-cgg4v4
Steps to Reproduce
N/A
Expected Behaviour
Should pause & play with respective methods.
The text was updated successfully, but these errors were encountered: