Re: [csswg-drafts] [cssom-view] scrollIntoView and sticky elements

@ExtAnimal Here is a crude (starting point) attempt at a test case for this issue. Though consistent across browsers, it shows how sticky elements obfuscate an element using both `scrollIntoView` as well as scrolling to IDs via anchors.

http://jsfiddle.net/8hjtwecb/

I understand that the use of `scroll-padding` fixes this issue quite well in regards to elements with `position: fixed`, but doesn't exactly help when using `position: sticky` because an elements perceived scrollport is different when inner elements are "stuck" or not.

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

Received on Wednesday, 19 September 2018 22:32:33 UTC