.slick-active not on correct slicks
See original GitHub issuehttps://codesandbox.io/s/jlk8n3z9v9
- Inspect the elements, found
slick-active
class name is added properly to the first 4 slicks. - Click
>
arrow button to flip to next page. - Inspect again, now
slick-active
class is added to elements outside the viewport.
We can only detect the active items on the viewport when we can see accurately which ones are active slicks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
The class .slick-active appears on all slides, should only be ...
Only the first option should be active. It's not until you click, that it begins to work correctly. Is there a way to...
Read more >css - Repeat Error on Slick Carousel
The cause for this is that Slick changes the DOM order of the slide elements when switching from "first to last".
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 >react-slick
Start using react-slick in your project by running `npm i react-slick`. There are 1774 other projects in the npm registry using react-slick.
Read more >asNavFor stopped working with AJAX loaded slicks
Basically Slick Fields and Views has already provided a fix for this: 1. Simply uncheck "asNavFor auto selectors", otherwise IDs added. 2. Then ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any updates on this one?
Any update on this issue?