[Webkit-unassigned] [Bug 181048] Background image with background-attachment: local inside -webkit-overflow-scrolling: touch fails to display until viewport zoom
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 23 00:20:44 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=181048
--- Comment #6 from Jayden Seric <me at jaydenseric.com> ---
I've discovered that updating a CSS variable on a -webkit-overflow-scrolling: touch element when it’s scrolled causes it to repaint correctly. I use React hooks, but here is a vanilla example:
if (CSS.supports('-webkit-overflow-scrolling: touch')) {
const scroller = document.getElementById('scroller')
scroller.addEventListener('scroll', () => {
scroller.style.setProperty('--force-paint', Date.now())
})
}
This is a very inconvenient bug!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190923/c2b72c80/attachment.html>
More information about the webkit-unassigned
mailing list