Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite Scroll: Two on same page #22

Open
acarlstein opened this issue May 2, 2016 · 1 comment
Open

Infinite Scroll: Two on same page #22

acarlstein opened this issue May 2, 2016 · 1 comment

Comments

@acarlstein
Copy link

I am not 100% sure if this is an actual issue.

Description: In one page, we have tabs. Each tab will show/hide a div with content in which we are applying infinite scroll.

Issue: Even do, only one tab is being displayed. When we scroll down, all the content of all the tabs are loading contents via infinite scroll. We only want to load the content of the tab being visible, not the other tabs.

@amitjain1982
Copy link
Owner

The reason could be the container id (say div) is kept same for all tabs. Can you try giving different ids to div/span to each tab. Then each remote pagination tag for different tabs should refer to different div/span ids. If this doesn't work. Could you please post the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants