question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slick refresh not reinitiating all events

See original GitHub issue

I have several custom functions that run on , init, breakpoint, afterChange and beforeChange

and none of them are reinit if I use slick('refresh')

in this demo on init I added dots ul class dots-green , once you click the refresh button the class is not applied again

https://jsfiddle.net/Themezly/s0ose0mj/

I was under the impression that refresh is refreshing the slider instance. Or ?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
leggomuhgreggocommented, Sep 12, 2017

On my radar

1reaction
danyjcommented, Sep 12, 2017

@kino90 seems like you are leading us in right dir , the cleanupevents should do reinti, maybee

_.reinit();

needs to be reapplied in one of the cleanup methods

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reinitialize Slick js after successful ajax call - Stack Overflow
Removing the classes doesn't seem to initiate the destroy event(not tested but makes sense) but does cause the later slick() call to behave ......
Read more >
slick - the last carousel you'll ever need - Ken Wheeler
slick is a responsive carousel jQuery plugin that supports multiple breakpoints, CSS3 transitions, touch events/swiping & much more!
Read more >
FH5 Fixed Issues - Forza Support
This list is updated regularly. The team has fixed all of the issues on this list which would not be possible without hearing...
Read more >
WP Slick Slider and Image Carousel – WordPress plugin
It uses A custom post type and taxonomy to create a slider, with almost unlimited options and support for multiple sliders on any...
Read more >
5 Easy Ways to Fix the "jQuery is Not Defined" Error - Kinsta
Because this is one of the more straightforward JavaScript errors to fix, it shouldn't take you very long at all. In this post,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found