Okay
  Public Ticket #1511922
Starter kit collapsible menu and semi dark menu
Open

Comments

  •  2
    multiwebinc started the conversation

    There is a bug that's in the starter-kit directory, but not in the materialize-admin directory. When the first menu item in the left nav is open and the nav is unpinned, mousing over the menu expands all menu items.

    Steps to reproduce:

    • Open HTML file from starter-kit directory (either collapsible-menu or semi-dark-menu)
    • Collapse all menu items except the first one. Make sure the first one is expanded.
    • Unpin the menu
    • Mouse over the menu
    • All of the menu items from all groups are now shown, even though they were previously collapsed.

    Tested on Opera (Chrome-based) and Firefox.

  •  54
    Andrew replied

    Hello multiwebinc ,

    Thanks for purchasing our theme and get in touch with us.

    Apology for the let us test the specific scenario and we will get back you in 24hrs.

    Thanks for understanding.

  •  2
    multiwebinc replied

    I never heard back...

  •  54
    Andrew replied

    Hello  multiwebinc,

    Apology for the in convinience, we have tried and it was wired issue that we are facing.

    We have investigated that issue and that was due to that multi level menu. Please use the attached html file.

    That multilevel menu issue required new release, we will update you one we will rollout it.

    Thanks 

    Attached files:  page-blank.html

  •  2
    multiwebinc replied

    I tried with the file you sent and it is still bugged. See attachment.

    Attached files:  Screencast 2018-04-04 14:47:24.mp4

  •  54
    Andrew replied

    Hello multiwebinc,

    Thanks for providing the video for more details.

    I have downloded my attached file in previous response and tested that also. You might be not using the attacted file or your browser cache issue. As I have removed multilevel menu from my html file so it should not display on screen.

    Please try again to download, overwrite your existing page-blank.html file or create with new name. Clear browser cache with ctrl+shift+r.

    Cheers~

  •  2
    multiwebinc replied

    Hi Andrew,

    I think I accidentally clicked on the blank link and thought I was on the same page. My apologies.

    I tried the HTML you sent me and I'm not really sure what I'm supposed to be looking for. If I add in the menu items it doesn't work.

    Anyway, doing a bit of investigating, this seems to be the part causing the error from materialize.js:

    else if (methodParam >= 0 && methodParam < $panel_headers.length) {
            var $curr_header = $panel_headers.eq(methodParam);
            if ($curr_header.length && (methodName === 'open' || methodName === 'close' && $curr_header.hasClass('active'))) {
              collapsibleOpen($curr_header);
            }
            return;
          }

    Commenting this out seems to make things work perfectly for me. I'm not entirely sure what this code is supposed to be accomplishing, but `$panel_headers.length` is always 1 for my menu, so the above code is only triggered when `methodParam` is 0 (when the first collapsible menu item is the only open one).

  •  54
    Andrew replied

    Hello multiwebinc,

    Let us investigate on that code, Thanks for suggesting us the solution. 

    We have added this bug in our bug list.

    Cheers~

  •  2
    multiwebinc replied

    Thanks Andrew. Do you allow public contributors?

  •  54
    Andrew replied

    Hello multiwebinc,

    Sure, we do do allow that but only for our customers.

    Thanks