Opened 3 years ago
Last modified 3 years ago
#50446 new defect (bug)
Twenty Fifteen: Regression in updated sticky sidebar code
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.4.2 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
Hi all,
the behavior of the sticky scrollbar in the Twenty Fifteen default theme changed unexpectedly upon updating the theme to version 2.6.
Steps to reproduce: Create a page where both the sidebar and the content are long enough (relative to the window height) to cause scrolling, the content being longer than the sidebar. Scroll down, past the point where the sidebar stops scrolling. Scroll back up.
Behavior up to 2.5: The sidebar immediately starts scrolling up.
Behavior in 2.6: The sidebar remains fixed until you scroll back up beyond the point where it initially stopped when scrolling down.
The original behavior seems to allow for more efficient navigation, and since this change was not mentioned in the changelog for version 2.6, I believe this is a bug.
This regression seems to have been introduced in #46308 and previously discussed in #37536. @DvanKooten, @whyisjake, please have a look?
Just to clarify: It's not the regression that's been discussed in #37536, but the proposed change that led to the regression. I couldn't find an edit button, hence this comment.