October 10, 2018 at 7:13 am #277449
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?October 10, 2018 at 8:41 am #277452
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.October 10, 2018 at 9:06 am #277455
You must be logged in to reply to this topic.