Comments

saltednut’s picture

Rolling back to alpha7 fixes this. The regression was introduced here: http://drupalcode.org/project/navbar.git/commit/e89d73d

drupalion’s picture

I have a same problem in alpha10 release.

m.stenta’s picture

Version: 7.x-1.0-alpha9 » 7.x-1.x-dev

Changing the version of this to 7.x-1.x-dev since it's an outstanding issue in the dev branch...

This issue seems related, but no longer applies due to the recent changes introduced with the Backbone dependency (I think): #1852164: Navbar offset not being set correctly

saltednut’s picture

Status: Active » Needs review
Issue tags: +demo_framework
StatusFileSize
new539 bytes

Seems as if .navbar .vertical > .lining needs the bottom: 0; assignment.

saltednut’s picture

Status: Needs review » Needs work
StatusFileSize
new152.66 KB
new125.32 KB

The patch in #4 seems to work but causes the content within the .lining to disappear at mobile-sized resolutions...

navbar-vertical-mobile-1971902-1.png

navbar-vertical-mobile-1971902-2.png

saltednut’s picture

Status: Needs work » Needs review
StatusFileSize
new495 bytes
new170.51 KB
new116.98 KB

My second attempt: this patch is assigning bottom: 0; for (min-width: 28.125em) - in my tests so far, the navbar extends the page on the smaller resolutions so the bug does not affect those screens. The bottom: 0; assignment is unnecessary for fixing scrolling issues noted by @chrisyates unless the resolution is above 450px (28.125em).
navbar-vertical-mobile-1971902-3.png
navbar-vertical-non-mobile-1971902-4.png

jessebeach’s picture

StatusFileSize
new1.11 KB

Would folks mind testing the 7.x-1.x branch? I think these changes should fix the issue.

saltednut’s picture

I can confirm that the scrolling issue is fixed using the latest dev.

However, I am also seeing issues with modules that use hook_navbar... this might be a followup issue or tracked elsewhere?

See screenshot:
mobile preview navbar error
mobile preview navbar error

m.stenta’s picture

7.x-1.x dev release works great! Super great!

saltednut’s picture

Status: Needs review » Reviewed & tested by the community

Followup posted #1985730: Modules that invoke hook navbar are being rendered incorrectly. - I'd say this issue "In vertical orientation, menu cannot scroll past viewport bounds" is fixed.

jessebeach’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This fix was already pushed to 7.x-1.x.

hass’s picture

Status: Closed (fixed) » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.