metafizzy / metafizzy/flickity-hash

Delay/flickering between slides 1 & 6 when using with flickity-fade and 10 slides

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
13
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I created an image gallery using hash in conjunction with flickity-fade. As soon as I add more than 9 slides, for some reason there is a delay when switching between slides 1 & 6 via the hash links. When images are places in the slides, when switching between 1 & 6, the carousel window switches from 1 -> 6 -> 1 (when switching from 6) and 6 -> 1 -> 6 in quick succession (when switching from 1).

Using the following:
https://unpkg.com/flickity@2/dist/flickity.css
https://unpkg.com/flickity-fade@2/flickity-fade.css
https://unpkg.com/flickity@2/dist/flickity.pkgd.js
https://unpkg.com/flickity-hash@1/hash.js
https://unpkg.com/flickity-fade@1/flickity-fade.js

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Flickity, Flickity Fade, and Flickity Hash CDN setup and a minimal gallery containing 10 slides. Reproduce hash navigation between slides 1 and 6, with and without images; done means both links switch directly without the reported delay or 1→6→1 and 6→1→6 flicker.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.