The forums ran from 2008-2020 and are now closed and viewable here as an archive.
i have to fix a div on the x axis, without using position fixed, so i give the div the attribute ‘left’ to be the scrollLeft value whenever i drag the horizontal scroll
$('.x').css ( 'left' , $("#id").scrollLeft());
this work perfect on chrome , but not on IE 11, the content of the div flickers everytime i scroll horizontal
i think it has to do with the repaint that the browser has to do in order to render the element
any idea on how to fix this?
If you provide us with a small demo in CodePen so that we can see the issue firsthand, we might be able to suggest a fix.
if you copy and paste the code of this jsfiddle in sublime for example and you open in IE browser , you will see the flicker effect of the content #HEADER