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

@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