Skip to content

Third level does not render correctly #3

@yahyaerturan

Description

@yahyaerturan

Hi,

I am using this plugin with joy, thanks.

First to make a dropdown work, I had to add class simple to parent elements.

In the second level, when I hover Electronics render is broken because it tries to create a new dropdown with div while it need to create a dropdown with a tag.

Here is my code:

$menu->addChild('Products', array('route' => 'products', 'attributes'=> array('class' => 'simple')));
$menu['Products']->addChild('Electronic', array('route' => 'electronics', 'attributes'=> array('class' => 'simple')));
$menu['Products']['Electronic']->addChild('Mobile Phones', array('route' => 'mobile-phones'));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions