Closed stfschn closed 3 years ago
I have the same problem :(
the same as wheel
the problem here is the walker i think i will use Jquery to let dropdown working wheel!
@stfschn, use 'depth' => 2
. That should solve the issue.
@josephsizar , @Kemoshousha309 please check whether you also used 'depth' => 1
and try using 'depth' => 2
instead.
This is documented in the usage section of the readme.
However, specifying 'depth' => 1
breaks the menu in the current version of the walker. Though no dropdowns are allowed the first level menu item still behaves like a dropdown. The walker even displays the caret. This will be fixed in v5 of the walker.
Closing this due to lack of feedback.
Hello there,
I've encountered a problem which I haven't had before with navwalker.
Wordpress-Version: 5.7.1 Navwalker-Version: current Bootstrap-Version: 4.6
What I expected:
The dropdown menu should work just as usual. Using the following code to include the walker:
What happened instead:
The dropdown menu opens onClick, however it does close immediately. Bootstrap and jQuery seem to be included in the regular wordpress way. Is there a way to keep the dropdown open?