Closed samgiles closed 9 years ago
It's very unlikely to change once it's been calculated once, (although it will get calc'd on each 'require').
I noticed this was adding to the scroll jank using chrome 41 in o-techdocs, see: https://github.com/Financial-Times/o-techdocs/blob/master/src/js/nav.js#L46.
o-techdocs
Good one. Have you tested in IE8?
Ah no, I didn't have an 'in date' VM with it installed. Will try and get round to it.
Have now tested in IE8! It works. :)
Cheers Sam, well done!
It's very unlikely to change once it's been calculated once, (although it will get calc'd on each 'require').
I noticed this was adding to the scroll jank using chrome 41 in
o-techdocs
, see: https://github.com/Financial-Times/o-techdocs/blob/master/src/js/nav.js#L46.