metafizzy / metafizzy/flickity

Slide wider than viewport

Open
#349 9 comments 12 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
7.6k
Forks
593
PR merge metrics
No merged PRs in 30d

Description

**Test case:** http://codepen.io/coreyworrell/pen/PNKyrQ

This mostly applies to when you have the `freeScroll` setting on.

You'll see there how if you have a slide that is wider than the viewport, you have to "overscroll" to see the hidden part of the slide (overscroll left for the first slide, or right for the last slide). Setting the `cellAlign` option will allow you to see the entire slide, but only the first or last (depending on if you set it as `left` or `right`).

Is it possible to allow user to scroll from the left edge of the first slide to the right edge of the last slide?

Thank you.

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodePen test case and reproduce the behavior with freeScroll enabled, especially when a slide is wider than the viewport. Compare the effect of cellAlign set to left and right, then trace the carousel's scrolling bounds; done means users can scroll from the left edge of the first slide to the right edge of the last slide.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.