Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Third level does not render correctly #3

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'));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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