javascript - Is there a definitive approach to a flicker-less scrolling parallax? -
anyone that's ever worked on scrolling parallax has run sort of flickering on 1 or more of major browsers. , if issues solved using workaround, browser updates might still bring flickering back.
what want know whether has found definitive solution or @ least recommended way of achieving parallax effect without suffering this.
i aware fixed backgrounds , elements don't aren't affected, in many occasions they're not option.
i did extreme experiment once. replaced scrollbar custom 1 , then, instead of listening scroll event , updating elements styles, first update elements , set scrolltop, when scroll rendered object have new style values. not stop flickering on chrome.
i start project featuring scrolling parallax effects , i'd avoid having deal bug reports regarding flickering or having tell client can't use native scrollbar.
any suggestions?
Comments
Post a Comment