Re: [csswg-drafts] [cssom-view][css-position] Scrolling a sticky element into view should use normal flow position for sticky boxes (#1459)

Yes, it's going to be a breaking change if we want to improve the status quo - scrolling to the current position. Unfortunately scrolling to the normal flow position (which you can test in chrome with experimental web platform features enabled) is also broken in many common use cases. E.g. a sticky header with an input field that is already in view probably shouldn't scroll. However, if there are possibly other sticky elements overlapping the element of interest then you do want to use the in flow position (exemplified in the OP).

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1459#issuecomment-1283321339 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 October 2022 02:37:48 UTC