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

When using 'infiniteScrollContainer' attribute the calculation isn't according to the chosen container #376

Open
Michaelzvu opened this issue Jan 25, 2018 · 0 comments

Comments

@Michaelzvu
Copy link

Michaelzvu commented Jan 25, 2018

The behavior of the directive when choosing another container instead of the window isn't correct.
it's happens when I set new container by 'infiniteScrollContainer' attribute or by adding 'infiniteScrollParent' attribute.

for example:

<div id="test"
         infinite-scroll="$ctrl.addInfiniteScrollItems()"
         infinite-scroll-distance="1"
         infinite-scroll-disabled='$ctrl.isAllItemsLoaded'
         infinite-scroll-container="'#test'">
        <div class="app" ng-repeat="item in $ctrl.applications">
            <something></something>
        </div>
    </div>
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

1 participant