W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [cssom-view] scroll-behavior and collapsing content

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Jul 2018 20:25:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-408224279-1532636739-sysbot+gh@w3.org>
Whatever terminology you use, saying *something* about the issue would be better than saying nothing and forcing everyone to infer what you're talking about. ^_^

I think your issue is that if, between the time a smooth scrolling operation is trigger and it completes, the position of the element being smooth-scrolled to changes, browsers currently don't take that into account, and still scroll to the original position. The final scroll position is thus confusing, because the element you were trying to scroll to isn't in the expected place (and if it moved up, may be totally off-screen).

Is this right?

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2954#issuecomment-408224279 using your GitHub account
Received on Thursday, 26 July 2018 20:25:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:33 UTC