W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-scroll-anchoring-1] Reduce the scope of focused element (#5470)

From: vmpstr via GitHub <sysbot+gh@w3.org>
Date: Tue, 25 Aug 2020 18:48:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-680206237-1598381287-sysbot+gh@w3.org>
@emilio Can you take a look please? We found that as previously specced, things like buttons would become priority candidates and thus be scroll anchors. However, this breaks the "show more" button pattern since instead of scrolling the button off-screen, it's anchored and the content is instead added above it. Although there's a solution (adding overflow-anchor: none to the button), the sheer size of the impact seems to indicate the preference for previous behavior for buttons.

(let me know if the language here makes sense as well :) )

/cc @chrishtr @domenic 

-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/5470#issuecomment-680206237 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 25 August 2020 18:48:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC