flaviusmatis / flaviusmatis/simplePagination.js

Way to consider css property "display"?

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
777
Forks
397
PR merge metrics
No merged PRs in 30d

Description

Hey,

using simplePagination.js in combination with filtering.

Probleme:
when i destroy and redraw simplePagination.js within filtering it takes all elements even if they're got display:none;. Is there a option to consider css property "display" when it counts items + generating pages?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in simplePagination.js by tracing how items are counted and pages are generated after filtering destroys and redraws the pagination. Reproduce the case with filtered elements using display:none; done means hidden elements are excluded from the count and page generation while visible elements paginate correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Feature
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.