Mobile view: nav / nav-collapse only works after toggling

Please report bugs here!

Moderator: Thorsten

Post Reply
kalechinees
Posts: 3
Joined: Tue Mar 04, 2014 1:07 pm

Mobile view: nav / nav-collapse only works after toggling

Post by kalechinees »

In the slim view the second level NAV menu only appears after toggling nav another time.

Code: Select all

btn.navbar
    Add new FAQ
    Add question
    Open questions
    Administration
    dropdown-toggle Username >         < this toggle doesn't work before you toggle the entire menu first
        User Control Panel
        Logout
[/quote]

During debugging I found that on initial opening of the nav-menu the style is added of "height:{height}px". 
[code]
<nav class="nav-collapse in collapse" style="height: [certain fixed height]px;">
After the second toggle, this line changes to:

Code: Select all

<nav class="nav-collapse in collapse" style="z-index: 1031; height: auto;">
Due to the "overflow: hidden" feature, the options "User Control Panel" and "Logout" will not display with a fixed height. The second toggle - with an height:auto; the div will expand to fit two extra menus.

I hope this makes any sense. Let me know if you're able to recreate the issue.
I've tried three different installations and all three version have this bug. I'm running 2.8.7
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Mobile view: nav / nav-collapse only works after togglin

Post by Thorsten »

Hi,

we know that and currently we won't fix that. We're working on 2.9 with a new, mobile first layout and we'll provide this new layout for 2.8, too

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply