[wp-trac] [WordPress Trac] #19994: Sticky admin menu
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 29 13:36:26 UTC 2012
#19994: Sticky admin menu
-------------------------+------------------------------
Reporter: tillkruess | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: UI | Version: 3.3.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by tillkruess):
@arleym: We need to consider a few more things to make this work flawless.
I think it was some Firefox version, which required also the {{{top}}} and
{{{left}}} CSS property as well as {{{position}}}. There also occurred a
funny display issue, when the menu was fixed and the browser viewport was
smaller than the {{{min-width}}} of the {{{<body>}}}. Another issue was
jQuery's {{{height()}}} and {{{outerHeight()}}} function weren't
calculating the real height because {{{#collapse-menu}}} had no clear-fix.
And when the expand button of the menu is clicked, we would want to check
the height of the menu again, in case it's now too tall.
[http://wordpress.org/extend/plugins/floating-admin-menu/ The plugin I
wrote] fixes all these issues and I'd be delighted to make a patch out of
it. Maybe we could also implement a CSS transition, so the menu doesn't
jump from {{{fixed}}} to {{{relative}}}, rather it would slide smoothly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19994#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list