#42514 closed defect (bug) (fixed)
Scrolling Titles in 4.9 About Page Flash
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Administration | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
I decided I'd do some testing with the 4.9 release (currently using RC2) and noticed on the about page, when you scroll down there are some titles that follow you down the page. It seems that when you get to the bottom of a container, the title disappears as you scroll on down to the next section. If you scroll back up again then the title will suddenly appear once again.
The .floating-header-section h2
element should have a position of absolute when it gets scrolled down to the bottom boundary of that section. Currently, when you reach the bottom, the top
attribute gets reset to 0 so it looks like it's flashing when really it's just jumping up to the top.
A fix for this would be to set a position of absolute when the title hits the very bottom of it's section container so it appears to stick to the bottom.
Attachments (1)
Change History (13)
#3
@
7 years ago
@ryelle is going to try to take a look later today. However, if she can’t get to it in time, I’m inclined to leave it as-is — unless it’s causing performance issues, or flashing bad enough to cause headaches in motion-sensitive people.
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
7 years ago
#8
@
7 years ago
- Keywords has-patch added; needs-patch removed
FYI for anyone following this ticket, I've uploaded a patch to #42526 which also addresses the scrolling title issue - direct link to patch.
This seems like it'll need a bit of JavaScript to ensure the titles
top
attribute gets set correctly when it hits the bottom of the container and also watch for the window being resized reducing the number of lines the content sits on which will ultimately make the page longer.