framework7io / framework7io/framework7
Add Horizontal Lazy Loading Support
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
This is a (multiple allowed):
- bug
- enhancement
- feature-discussion (RFC)
- Framework7 Version: v1.4.2
- Platform and Target: All
Hi
I have a simple list of horizontal images in a scroll that go outside the page view. It seems the lazy loading only works if you scroll down when the images are in view.
It would be cool if the lazy loading function listened for horizontal scrolling too.
I tried the following but that still did not help.
myApp.initImagesLazyLoad('.h-scroll');
Cheers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the initImagesLazyLoad('.h-scroll') entry point and reproduce the issue with a horizontally scrolling list of images on Framework7 v1.4.2. Check how lazy loading detects scrolling; done means images outside the initial page view load when the horizontal container is scrolled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100