If your problem is with filters (not conversions) causing problems, then this will work.
I had a filter setting on the parents of fixed elements, but it changed with the width of the window. I noticed that as the width of the window crossed these @media (max-width...) borders @media (max-width...) , the fixed position element would move exactly to the position it was supposed to be, regardless of what the filter had.
source:
<style> .withFilter { filter: whatever; } #fixed { position: fixed; bottom: 0px; .... } </style> <body> <div id="a"> <div id="fixed"> at bottom </div> </div> <script> ... lots of stuff ... jQuery("#a").addClass('withFilter'); ... lots of stuff ... </script> </body>
working code:
.... same stuff .... <script> ... lots of stuff ... setTimeout(function() { jQuery("#a").addClass('withFilter'); }); ... lots of stuff ... </script> </body>
just add enough time to fix a fixed position and only then apply a filter / transform ....
user3338098 Sep 03 '15 at 18:06 2015-09-03 18:06
source share