about summary refs log tree commit diff
path: root/app/presenters/initial_state_presenter.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-12-19 12:47:19 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-12-19 12:47:19 +0100
commitdc0750abc331749a92ffa96fed9fe048acdea3b1 (patch)
tree6d1db5ac1dffad8f825a2b1b3ed7ec22dade7598 /app/presenters/initial_state_presenter.rb
parenta90258dbe9f6632350a81f0e4e14f6cc354e0e76 (diff)
Fix manual scrolling issue on Firefox/Windows (#12648)
Fixes #12607

`will-change: transform` apparently makes manual scrolling impossible on
Firefox/Windows. While this should probably be considered a Firefox bug,
`will-change: transform` seem like a very aggressive performance hint that
may possibly make the browser consume more resources than needed, especially
in multiple-column mode.

This was originally added to improve scrolling performances on mobile, but
I think this isn't necessary anymore, because of the two following reasons:
- `contain: paint` (which is implied by `contain: strict`, which we apply
  whenever the browser supports grids) should have similar effects
- in single-column mode, the scrolling container is the root element, which
  I believe is optimized in at least Chromium

Keep in mind that I have not been able to make in-depth benchmarks, and
especially not been able to try on mobile, so performances should probably
be investigated further…
Diffstat (limited to 'app/presenters/initial_state_presenter.rb')
0 files changed, 0 insertions, 0 deletions