MiniProfiler icon indicating copy to clipboard operation
MiniProfiler copied to clipboard

MiniProfiler HTML widget very slow in Chrome on Retina Macbook (includes workaround!)

Open mipearson opened this issue 12 years ago • 2 comments

Writing this up as this was a biig problem for me when using MiniProfiler.

MiniProfiler's use of a position: fixed widget causes extreme slowdown when trying to scroll certain pages on Chrome on a Retina display Macbook.

The workaround is as follows:

  1. Enter about:flags in your chrome browser bar
  2. Set "Fixed position elements create stacking contexts. " to "Enabled"
  3. Set "Compositing for fixed position elements." to "Enabled"

Once again enjoy smooth(-ish) scrolling!

mipearson avatar May 14 '13 23:05 mipearson

getting away from position fixed is not really an option without a massive redesign

I think I would like to close this issue, not much we can do.

SamSaffron avatar Jul 30 '13 01:07 SamSaffron

I agree that there isn't really a fix: I recommend adding this to the documentation somewhere. I raised it as an issue rather than a PR as I'm not sure where you should add it.

mipearson avatar Jul 30 '13 01:07 mipearson