Absolute Positioned Floating Header Jitters in Safari

前端 未结 6 828
刺人心
刺人心 2020-12-31 02:52

I have a simple JSFiddle of a single floating header here:

http://jsfiddle.net/zT9KQ/

Basically, this uses translate3d to kick in the GPU and ha

6条回答
  •  萌比男神i
    2020-12-31 03:25

    It appears to be a bug with Safari scrolling. If you drag the scrollbar manually (don't use the trackpad gesture to scroll), then there is no jittering.

    Chrome (and other browsers) handle scrolling differently which is why this bug is only present on Safari. You might want to submit a bug report to Apple.

提交回复
热议问题