Skip to content
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

delay when changing speed with slickSetOption #2334

Closed
b0rt opened this issue May 25, 2016 · 1 comment
Closed

delay when changing speed with slickSetOption #2334

b0rt opened this issue May 25, 2016 · 1 comment

Comments

@b0rt
Copy link

b0rt commented May 25, 2016

when calling .slick('slickSetOption', 'speed', $otherspeed, false);
there is a huge delay until the new Option is being used.

[ https://jsfiddle.net/b0r7/tdfo1z0f/ ]

Fiddle Link

Steps to reproduce the problem

  1. call .slick('slickSetOption', 'speed', $otherspeed, false);

where $otherspeed is a different speed than the original configured speed

What is the expected behaviour?

After calling slickSetOption have the new parameter be applied (almost) instantly

What is observed behaviour?

Huge Delay
slick-js-faster-deley

More Details

Which browsers/versions does it happen on?
  • Chromium Version 49.0.2598.0 (64-bit)
  • PaleMoon Version: 26.2.2 (x64)
  • Firefox Developer Edition 48.0a2 (2016-05-24)
Which jQuery/Slick version are you using?

latest (as of 2016-05-24)

@leggomuhgreggo
Copy link
Collaborator

Hey @b0rt thanks for making the issue. Correct me if I'm mistaken, but it seems like the delay just the time remaining on the transition of the current slide. Unfortunately, the library's support for linear continuous scrolling is not well developed, so there's no existing support for it. I wish you luck in trying to hack a solution together!

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

No branches or pull requests

2 participants