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

ag-infinite-scroll not working with overflow-y: hidden #121

Open
galcivar opened this issue Apr 1, 2017 · 3 comments
Open

ag-infinite-scroll not working with overflow-y: hidden #121

galcivar opened this issue Apr 1, 2017 · 3 comments

Comments

@galcivar
Copy link

galcivar commented Apr 1, 2017

Hi!
ag-infinite-scroll="load()" doesn't get called when <body layout="column" style="overflow-y: hidden !important">

The above is needed to get Angular Material toast and other components working.
See: angular/material#3539 (comment)

@galcivar
Copy link
Author

galcivar commented Apr 1, 2017

For clarification I tried:

<md-content id="content-scroller">
<div>
<div class="cards-wrap" angular-grid="gallery" ag-grid-width="350" ag-performant-scroll="true" ag-gutter-size="12" ag-id="gallery" ag-scroll-container=" '#content-scroller' " ag-infinite-scroll="loadMore()">
...
</div>
</div>
</md-content>

And thows a DOM error:

Uncaught DOMException: Failed to execute 'querySelector' on 'Document': ' '#content-scroller' ' is not a valid selector.
at B (http://localhost:1337/js/dependencies/angulargrid.min.js:11:2286)

Also tried with ag-scroll-container="#content-scroller" Then it gives me no error, but still it is no fix for the scrolling issue.

@awaistechverx
Copy link

having same issue.. any one can help?

@adarshsingh1407
Copy link

Having the same issue. Can anyone help?

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

3 participants