Prevent first/last pages from sliding further than the carousel's borders
See original GitHub issueFeature
New Prop to stick first/last CarouselItems to the edges, regardless of the value of centered
prop, always displaying a full page.
Context
When slidesPerPage
is greater than 1, reaching the first or last element adds unnecessary blank space. Instead, getTransformOffset() could prevent the carousel from sliding further, allowing the entire page to remain visible (respecting slidesPerPage
at all times).
Unwanted behaviour:
CodePen: https://codepen.io/anoz/pen/OJVmBxB
IssueHunt Summary
Backers (Total: $0.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:29 (5 by maintainers)
Top Results From Across the Web
Disable Prev Control on first slide and disable Next control on ...
Just use infite: false and create a custom css for class slick-disabled. Eg. JS - jQuery $('.my-slider').slick({ infinite: false, ...
Read more >Step Carousel Viewer - Dynamic Drive DHTML Scripts
This script loads and displays a larger image inline on the page when a thumbnail is clicked on. Great for letting visitors preview...
Read more >How to stop windows sliding between open applications
Eg, I have Safari running with an active window. I then open a Word document or a second browser, or any other application...
Read more >All other San Diego fixes - Product Documentation | ServiceNow
Additional requirements for all San Diego features and products ... jobs require more than a one time clean-up to keep additional jobs from ......
Read more >Angular directives for Bootstrap - AngularUI
As soon as you've got all the files downloaded and included in your page you just need ... Use a <uib-carousel> element with...
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 FreeTop 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
Top GitHub Comments
@aayush420 We are working on restoring funding for already opened PRs. On the next Thursday, I will be able to re-assign money for this issue. Is it ok for you to wait for the funding one week?
And regarding bug @piotr-s-brainhub has mentioned it’s not caused by your code so I think everything looks 👍 .
@roberthebel has cancelled funding for this issue.(Cancelled amount: $59.00) See it on IssueHunt