Opened 10 years ago
Closed 10 years ago
#30632 closed defect (bug) (fixed)
Twenty Fifteen theme jumping error
Reported by: | kidsguide | Owned by: | iandstewart |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description (last modified by )
In the Twenty Fifteen theme, there is a wired jumping error when you scroll to the bottom of the page. Check out the video below.
https://www.youtube.com/watch?v=3O73MC36Cc0
I am using the following:
- Windows 7
- A fresh install of WordPress 4.1 beta2
- Internet Explorer (the error does not happen on Firefox)
Attachments (2)
Change History (23)
#5
@
10 years ago
Correction: I managed to replicate the issue with IE11 on Windows 8 also. Investigating.
#8
@
10 years ago
It's weird. For some reason, when the sidebar is longer than the main content, the height of document is 1px taller than the sidebar in IE... It should be the same height.
#10
@
10 years ago
With a quick search, it looks like $( document ).height()
doesn't always give you a cross browser, pixel accurate height. What about checking the body height instead? As far as I test, it works fine but I'd like to hear second opinions and needs more test.
This ticket was mentioned in Slack in #core by iandstewart. View the logs.
10 years ago
#19
@
10 years ago
- Keywords commit added; 2nd-opinion needs-testing dev-feedback removed
I can confirm that 30632.diff will fix this ticket and #30645.
30632.2.diff also replaces $( 'body' )
with $( document.body )
which is faster.
https://www.youtube.com/watch?v=3O73MC36Cc0&feature=youtu.be