iamphill / Bootstrap-Offcanvas

:zap: Offcanvas menu built with Bootstrap
MIT License
366 stars 111 forks source link

Gap below offcanvas menu area when scrolled down #63

Open kekkster opened 7 years ago

kekkster commented 7 years ago

Hi!

I noticed a "bug" when using the offcanvas menu on mobile. When scrolled down a bit on a page, just enough to the top toolbar/browser navigation (with the address field etc.) disappears, a big gap appears below the menu area. The gap is pretty much the same height as the browser toolbar. See attached screenshot. Tried both on Android (Samsung Galaxy S7 Edge) and iPhone (6) and both has the same issue.

Is this a known problem? If so, is there a workaround for it? Tried to search but came up with nothing.

screenshot_20170303-092711

iamphill commented 7 years ago

Hey @kekkster thanks for reporting!

Not sure it is known, but I think I know the issue. There are a few other bugs that I need to work on.

iamphill commented 7 years ago

Actually could you try out the change in #56 & see if that solves the issue?

kekkster commented 7 years ago

Thanks for your lightning fast response! :) I´ll try it out right away and let you know.

kekkster commented 7 years ago

It worked like a charm! Had to set "!important", but it works perfectly now! Thank you! :)

iamphill commented 7 years ago

@kekkster awesome, i'll look at getting it merged in & a release made.

danimalweb commented 7 years ago

Looking forward to this fix.