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

@flackr just wanted to point out in your current jsbin example, it appears that blink now behaves in a way where it does scroll to the top of the 'normal-flow position', except when it seems the focus comes from within the sticky target??? Notice how scrolling halfway passed any sticky block and clicking on that block makes the scroll jump partially back up the page (I believe it's exactly 60px, related to your `top:-60px`), but not to the top of the 'normal-flow position'.

Also, not sure how desirable the 'normal-flow position' is for when the element sticks to the bottom and not the top? Whether sticky elements are all in the same container or in their own individual containers, if sticking to the bottom, scrollIntoView using the top of the screen feels wonky imo.

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

Received on Saturday, 24 February 2018 23:45:32 UTC