Slow scrolling on pages with CSS Fixed position background image
Reported by
808...@gmail.com,
Nov 24 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.59 Safari/537.36 Steps to reproduce the problem: 1. visit any site with a fixed background image 2. 3. What is the expected behavior? Scrolling should be quick and smooth What went wrong? Scrolling is very slow and lags Some example sites (the last two are CSS examples for fixed background) https://www.meetup.com/London-Museums-Galleries-Social-Meetups/events/235735962/ https://davidwalsh.name/demo/background-repeat.php http://tympanus.net/Blueprints/ScrollingLayout/ Did this work before? N/A Chrome version: 55.0.2883.59 Channel: beta OS Version: Flash Version: Shockwave Flash 23.0 r0 I'm using a HiDPI screen which may exacerbate the issue.
,
Dec 13 2016
Able to reproduce the issue on Windows 10 and MAC 10.12.1 for chrome stable version 55.0.2883.87, Dev version 57.0.2946.0. Scrolling appears to slow and not smooth when compared to that it appears in Firefox. Issue is a non regression as observed from M24-24.0.1300.0. Tried URL: https://www.meetup.com/London-Museums-Galleries-Social-Meetups/events/235735962/ Moving Milestone from M55 to M57 and Untriaged it so that it gets addressed. P.S: Issue is not specific to HiDPI as it was observed on non HiDPI machines as well. Thanks.!
,
Dec 15 2016
Background-attachment: fixed causes all scrolling to occur on the main thread since we have to repaint the background in the new position on each scroll. This will inherently be slower than our normal composited scrolling path and will be affected by other work on the main thread like JS. It does seem like Firefox is better here though. Assigning to flackr@ to triage and see if there's maybe something we can do better.
,
Jan 8 2017
My testcase: http://oserv.org/bugs/chromium/slowscroll.html Work-around: http://oserv.org/bugs/chromium/slowscroll-fixed.html Refs: https://www.fourkitchens.com/blog/article/fix-scrolling-performance-css-will-change-property Note that the original testcase (slowscroll.html) is very fast in Firefox.
,
May 1 2018
I can no longer reproduce this issue as of Chromium 66. Did something change? |
|||
►
Sign in to add a comment |
|||
Comment 1 by ranjitkan@chromium.org
, Dec 8 2016