ajoslin / angular-scrolly

Fake transform-scrolling with angular-friendly utilities
http://ajoslin.github.io/angular-scrolly
65 stars 7 forks source link

Fix blink of content on first scroll sometimes #5

Closed ajoslin closed 11 years ago

ajoslin commented 11 years ago

First reproducable here: http://run.plnkr.co/plunks/mAjARz/#/angebot/gv3

Need to narrow down to smaller case and fix, or just find the bug

tbosch commented 11 years ago

On which device? I heard that Android shows a blink when first adding a translate to an element, as it then gets pushed to the cpu...

ajoslin commented 11 years ago

Ah right, I remember I already fixed this lol :-)

http://ajoslin.github.io/angular-scrolly/#/guide/gotchas

ajoslin commented 11 years ago

Need to add backface-visibility: none to scrollable elements

artworkad commented 11 years ago

hm this is not fixed for me. On android the scroll pane blinks on first scroll.

When I drag the pane up first time after view loaded, the pane does not respond, the pane blinks and after a second the pane jumps up. I tried it with the gotchas however they did not help.

Any ideas?

ajoslin commented 11 years ago

Does it blink on the demo site?

On Thursday, August 8, 2013, ArtworkAD wrote:

hm this is not fixed for me. On android the scroll pane blinks on first scroll.

When I drag the pane up first time after view loaded, the pane does not respond, the pane blinks and after a second the pane jumps up. I tried it with the gotchas however they did not help.

Any ideas?

— Reply to this email directly or view it on GitHubhttps://github.com/ajoslin/angular-scrolly/issues/5#issuecomment-22317282 .

...sent from my iPhone

artworkad commented 11 years ago

@ajoslin hm actually not. I have to digg more into this :yum:

ajoslin commented 11 years ago

Be sure you have -webkit-backface-visibility:none; applying to the container that is scrolling.

artworkad commented 11 years ago

Ok I fixed the blinking. However there seems to be a noticeable dragging delay, the container is animated 1-2 seconds after dragging it.