Skip to content

ipad scrolling shows empty unrendered lines untill scroll stops (alot of time) #2810

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

Closed
mikila85 opened this issue Feb 19, 2015 · 8 comments
Closed

Comments

@mikila85
Copy link

when scrolling in ipad up and down and giving it a momentum of scroll it takes a lot of time for it to stop and meanwhile (can be 5+ sec of slowing down animation) you only see an empty white grid :(
tested on ipad air1, ios 7.1.2, with browsers: chrome\safari\webview.(phonegap)

also tested it here too: http://ui-grid.info/docs/#/tutorial/202_cellnav

*tried upping the virtualizationThreshold to 100-500 O.o did not help either.

@c0bra
Copy link
Contributor

c0bra commented Feb 19, 2015

Take a look at the starting "Id" of the row you're at before the scroll, and then after the scroll.

When I use emulation in Chrome and do a flick I go from row 1 to 108. That's effectively 3240px of scroll distance with one flick, in a couple seconds, in a viewport that is 400px high.

If you convert that to feet it's like looking through a 5 foot window and watching something 40 feet long fall past at 11 miles per hour. Once a feature on that 40 foot object appears into view it will be gone in 3/10ths of a second. Can your brain really register that information? In this case, could it register any of the data in those 100+ rows in 2.5 seconds?

That being said, 5+ seconds does seem kind of long, especially for the last second or two you would think that something should be renderable, but I don't have an iOS device to test on. In emulation is there is a bit of flicker but it does indeed render while scrolling. It may be down to just hardware performance.

@mikila85
Copy link
Author

chrome emulation works perfecrt!
just in ios device, starting row 1, row 20-30 are blank already.
it is really noticable just try it on a friend's iphone or something.
no hardware issues, just that the scroll events probably doesnt get picked up and it think nothing changed untill FULL STOP of scroll animation (5 sec + White grid!!).

ur left with empty scrolled area untill animation stops.

btw, does telerik use ui-grid as base? i dont know why but it seems like telerik are using ur grid and they seemed to solve that issue.

@c0bra
Copy link
Contributor

c0bra commented Feb 24, 2015

So nice of you to assume that we have friends. I'll try to get my hands on an iPhone or iPad.

Telerik is completely different other than our names ended up similar.

@mikila85
Copy link
Author

Hehe an iphone is always arround :)

Thx for the info looked really alike thought they took it and extended it (some companies leech of open-source project, who knows.)

@PaulL1 PaulL1 added this to the 3.0 milestone Feb 26, 2015
@PaulL1
Copy link
Contributor

PaulL1 commented Mar 28, 2015

I have a pretty old iPad (iPad 2 I think), for me on the 202 tutorial it's now OK (meaning that it's half a second or so of blank, but not many seconds). Is that also your experience? If so, I think that's about as good as it'll get.

@PaulL1 PaulL1 modified the milestones: Future, 3.0 Mar 28, 2015
@PaulL1
Copy link
Contributor

PaulL1 commented Apr 12, 2015

Closing, no further response and appears fixed.

@ekiran
Copy link

ekiran commented Jan 18, 2016

What is solution for this issue on iOS?

@mikila85
Copy link
Author

Nope.. No one ever fixed it. And if you scroll fast the anercia can take 5+ seconds of blank screen untill fully stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants