[wp-trac] [WordPress Trac] #30359: Widget Areas should stick to the browser viewport
WordPress Trac
noreply at wordpress.org
Fri Feb 9 01:02:08 UTC 2018
#30359: Widget Areas should stick to the browser viewport
-------------------------------------+-------------------------------------
Reporter: dd32 | Owner: ajensen
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 4.0
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: ui, javascript,
patch | administration
-------------------------------------+-------------------------------------
Comment (by ajensen):
I made an attempt at this with some JavaScript. It's set up so that if
the right column is entirely visible in the viewport it will automatically
stick. I started another function so that when the bottom of one of the
columns is reached it will no longer scroll, but the other column would
still scroll. However, I struggled to get the columns to stick after
reaching the end. I tried using css to relatively position it and then
set the bottom position to 20px, but this did not seem to work when
testing it and interfered with the first function.
I'd love to get some feedback if anyone has any helpful advice!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30359#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list