material icon indicating copy to clipboard operation
material copied to clipboard

md-subheader bounces badly if scrolling is too fast and granular enough

Open Todd-Werelius opened this issue 11 years ago • 5 comments

Here is the pen this only happens on smooth scrolling screens or mobile devices, the easiest way to see this on a desktop is to use your mouse wheel to scroll rapidly, assuming it scrolls smoothly ( many don't )

When you use the actual scroll bars this doesn't happen.

The easiest way to see this is in the pen is to use the chrome emulator ( use the iPad ) so that touch emulation is enabled, then drag up rapidly from bottom to top, or bottom to top.

I assume that this has to do with the sticky function, since I can see this on anything that uses it ( tool bars that shrink on scroll, etc. )

Doesn't reproduce on Firefox, but does on IE and Chrome

bouncing header

Todd-Werelius avatar Nov 21 '15 06:11 Todd-Werelius

Closing this since I can't repeat with the latest master build

Todd-Werelius avatar Nov 24 '15 05:11 Todd-Werelius

@Todd-Werelius : facing same issue on android devices. Any fix ?

nitin7dc avatar Dec 21 '15 21:12 nitin7dc

@nitin7dc re-open, it stopped after using the master last time, now it's back, not as badly as before but definitely still jittery on the browser initially, and when subheadings change

I can't test on mobile right now

I tracked it down and think It has to do with too many animations butting up against each other, I experimented with using an animation frame to quite things down with some moderate success but never got fully into it.

Todd-Werelius avatar Dec 21 '15 23:12 Todd-Werelius

#5483

olegweb avatar Mar 21 '16 11:03 olegweb

Excuse me, is this issue fixed already? I tried with latest angular material 1.5.5 still able to reproduce it.

khayargoli avatar Jul 18 '17 08:07 khayargoli