Coder Social home page Coder Social logo

Comments (17)

kamilkp avatar kamilkp commented on May 29, 2024

This can be overcome by adjusting the vs-excess properly

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

vs-excess is set to 200, and still happens. Sometimes the whole list is not visible.

from angular-vs-repeat.

kamilkp avatar kamilkp commented on May 29, 2024

Can you create a jsfiddle?

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

http://kamilkp.github.io/angular-vs-repeat/#?tab=1

scroll fast, on you will see a white background, it is not that obvious here, but if you have a higher view, it is much easier to see.

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

http://jsbin.com/mobipezehi/1/edit?html,css,js,output - in this example you will see, when scrolling, white flashes

Could you please fix this issue, I know it is not as important, but it gives bad user experience.

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

Any update on this issue?

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

using window.requestAnimationFrame speeds up scrolling a bit, but it is still not good in safari and IE.

maybe take a look at this lib, if you could think of how to fix the issue.

http://gdepourtales.github.io/ng-cells/

from angular-vs-repeat.

 avatar commented on May 29, 2024

Join to mato75,
Also have this issue,

div class="items-list" id="tableSearchResults" vs-repeat="85" vs-excess="10"
div class="request-row" ng-repeat="item in itemsList" ng-click="showItemDetails(request)"

testing on Android device, render speed on medium-high speed scrolling is slow.
on desktop browser works good without this issue

from angular-vs-repeat.

MaestroJurko avatar MaestroJurko commented on May 29, 2024

Any update?

from angular-vs-repeat.

SuperCoolSEBoy avatar SuperCoolSEBoy commented on May 29, 2024

I am having the same experience. Unlike what it has on the demo page, which has a delay when you drag the scrollbar dragger with 1000 items, I can use the scrollbar dragger smoothly but the list flashes somehow. I am not quite sure but I guess this is because IE is slow in re-rendering the ng-repeat items (and of coz, Chrome is always better than IE regarding perf)?

from angular-vs-repeat.

darrinholst avatar darrinholst commented on May 29, 2024

ng-cells has amazing scroll performance. How do we get vs-repeat to be that responsive?

from angular-vs-repeat.

darrinholst avatar darrinholst commented on May 29, 2024

The degraded scrolling performance that I was seeing was due to adding filter and orderBy filters. That brought the digest cycle up to 150ms with just orderBy and 500ms with both activated. Need to figure out how to add sorting and filtering without killing scroll performance if anyone has any suggestions.

from angular-vs-repeat.

 avatar commented on May 29, 2024

Made video example of my problem.
https://youtu.be/aG6W5mlMqxM

Anyone has an idea how to fix this?

from angular-vs-repeat.

graphefruit avatar graphefruit commented on May 29, 2024

+1 Here, experience this on WP8.1 aswell as on android.

Is there an update to this problem?

from angular-vs-repeat.

samk-ayyagari avatar samk-ayyagari commented on May 29, 2024

@darrinholst @SuperCoolSEBoy @dudesweet100 Guys can please let me know how you have solved this problem.

from angular-vs-repeat.

darrinholst avatar darrinholst commented on May 29, 2024

I don't think we ever totally eliminated the white flash (I'm not on the project anymore), but it is very important to do all your formatting/filtering/sorting of data up front in the controller. You want to get that digest cycle time as small as possible. It's going to be very hard to match the scrolling performance of a native table so you have take some tradeoffs unfortunately.

from angular-vs-repeat.

vTodorov avatar vTodorov commented on May 29, 2024

+1

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.