s-yadav / angulargrid

Pinterest like responsive masonry grid system for angular
MIT License
277 stars 105 forks source link

ag-infinite-scroll function never invoked in IE #105

Open lbellows opened 7 years ago

lbellows commented 7 years ago

I have simple console.logs in the app and they never get called when scrolling in all versions of IE (actual version is IE11 but tried other renderers in dev toolbar). Works in Chrome.

<div class="dynamic-grid" angular-grid="vm.currentFiles" ag-grid-width="300" ag-gutter-size="40"
        ag-id="gallery" ag-scroll-container="body" ag-infinite-scroll-distance="700"
        ag-infinite-scroll="vm.LoadMore()" ag-infinite-scroll-delay="1500">
<div data-ng-repeat="theFile in vm.currentFiles track by $index" class="grid">
            <a ng-href="{{::theFile.fullPath}}" target="_blank" href="" download="{{::theFile.Name}}">
                <img ng-src="{{vm.GetIconUrl(theFile)}}" class="grid-img" />
                <h3>{{::theFile.Headline}}</h3>
                <p>{{::theFile.Description}}</p>
                <p style="font-size:13px;color:#be9f71 !important;">{{::theFile.Category}}</p>
                <p>{{::theFile.CreatedBy.Name}} ; Posted on {{vm.FormatDate(theFile.Modified)}}</p>
            </a>
        </div>
</div>