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

Fixing issue with multiple tables and onScrolledToBottom. #664

Conversation

gmurphey
Copy link
Contributor

When multiple tables were rendered to the document, only the first table would scroll correctly. This was due to the selector referencing a class name and ember-in-viewport only selecting the first instance of that class. This commit prepends a table ID to that selector so that multiple tables with scrolling is supported.

When multiple tables were rendered to the document, only the first table would scroll correctly. This was due to the  selector referencing a class name and ember-in-viewport only selecting the first instance of that class. This commit prepends a table ID to that selector so that multiple tables with scrolling is supported.
@gmurphey gmurphey force-pushed the multiple-tables-on-scrolled-to-bottom branch from 291209a to 8326e4c Compare January 23, 2019 16:41
@alexander-alvarez alexander-alvarez merged commit 69fe819 into adopted-ember-addons:master Jan 23, 2019
@alexander-alvarez
Copy link
Collaborator

Thank you!

@fran-worley
Copy link
Collaborator

When merging master into 2-x branch I had to update our tests that call the lt-body directly to ensure that the tableId is always set otherwise we were getting errors raised for invalid selectors.

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

Successfully merging this pull request may close these issues.

None yet

3 participants