loryjs / loryjs/lory

number of visible slide I suppose expect visible 3 but always show 4 #sadLife NOT WORKING!

Open
#794 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

```HTML




lory








  • 220

  • 190

  • 150

  • 130

  • 250

  • 180

  • 200

  • 140

  • 120

  • 240










```

```JS

document.addEventListener('DOMContentLoaded', function () {

var variableWidth = document.querySelector('.js_variablewidth');

lory(variableWidth, {
infinite: 3,
rewind: false
});
});

OR

document.addEventListener('DOMContentLoaded', function () {

var variableWidth = document.querySelector('.js_variablewidth');

lory(variableWidth, {
infinite: 3
});
});

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the HTML reproduction and the DOMContentLoaded setup that calls lory on .js_variablewidth, then compare the two configurations using dist/lory.min.js. Reproduce the variable-width slider with infinite set to 3, verify how many slides are visible, and determine whether the result matches the expected three visible slides.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.