Coder Social home page Coder Social logo

Comments (9)

quietmint avatar quietmint commented on May 29, 2024 1

Had the same problem with 1.0.0-rc5. Ended up fixing this by adding the following to updateInnerCollection() at line 387 (right before var digestRequired definition):

$scope.startIndex = Math.max(($scope.startIndex - $scope.excess), 0);
$scope.endIndex = Math.min(($scope.endIndex + $scope.excess), originalLength);

from angular-vs-repeat.

kamilkp avatar kamilkp commented on May 29, 2024

Can you wrap it up in a jsfiddle so i can debug it? Also note that the vs-excess value is the number of items that should be rendered outside of the viewport. Do you really want 50 items above and 50 items below the viewport to be unnecessarily rendered?

from angular-vs-repeat.

that1guy avatar that1guy commented on May 29, 2024

Huzzah! @quietmint that solved it! Good stuff man!

from angular-vs-repeat.

that1guy avatar that1guy commented on May 29, 2024

@kamilkp This solves momentum scrolling issue too! Great workaround..

from angular-vs-repeat.

kamilkp avatar kamilkp commented on May 29, 2024

This actually should be working in the newest rc7. Let me know if you have any further problems.

from angular-vs-repeat.

that1guy avatar that1guy commented on May 29, 2024

@kamilkp can you update bower to rc7? thanks!

from angular-vs-repeat.

kamilkp avatar kamilkp commented on May 29, 2024

there is a new version already (rc8) and updated on bower too.

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

is this issue still present @that1guy ?

from angular-vs-repeat.

that1guy avatar that1guy commented on May 29, 2024

Resolved. Thank you!

On Tuesday, June 9, 2015, mato75 [email protected] wrote:

is this issue still present @that1guy https://github.com/that1guy ?


Reply to this email directly or view it on GitHub
#41 (comment)
.

from angular-vs-repeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.