Preview of previous and next slides like netflix
See original GitHub issueI’m attempting to create a Netflix style carousel with 3 requirements:
- Lazy loading.
- Allow for SlidesToScroll to be greater than 1.
- Show a fraction of the next and previous slides at the sides of the page (see Netflix).
While attempting to solve for requirement 3, I tried overriding the css for the slick-list class to allow for visible overflow ie:
.slick-list {
overflow: visible !important;
}
This works, however, when lazy loading is enabled it prevents the next and previous slides from being loading until scrolled to, thus breaking the effect. This can be seen here: https://codesandbox.io/s/lrox9mr35z
My next attempt tried making use of the centerMode option but unfortunately, centerMode restricts the slidesToScoll to 1 thus breaking requirement 2. CenterMode example: https://react-slick.neostack.com/docs/example/center-mode
Is there another way to achieve this effect or is the addition of a new setting required?
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Netflix Template - Engage Your Students in Any Subject Area
Create a Netflix series for a novel, historical event, animals/plants, etc. with this Netflix template for Google Slides, Keynote, ...
Read more >NETFLIX INSPIRED POWERPOINT using the ... - YouTube
Follow me for PowerPoint Tutorials and Tips Download this Template ➡️ http://lourrutiappt.gumroad.com Download my free slides ...
Read more >Netflix Inspired (5th) PowerPoint Template (Customize Intro ...
(CAPTIONS AVAILABLE)Hi everyone ! Welcome back to my YouTube Channel! ▶️In this video, I going to share my 5th PowerPoint Presentation, ...
Read more >Netflix Presentation Template - Prezi
Create a more engaging presentation than powerpoint with Prezis Netflix Presentation Template. Make your next presentation shine and share your ideas with ...
Read more >How to Re-Create a Nifty Netflix Animation in CSS
The design for Netflix's browse page has remained pretty similar for a few years now. One mainstay component is the preview slider that ......
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
I think you can set
slidesToShow
to a non-integer value to show a portion of the next slide. For example, setting it to 1.5 will show 1 slide and half of the next one.@mysteryhobo Where did you end up with this? Did you figure out a solution, and if so, would you be willing to share your finding?