Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sub Menu items changes to the Parent Menu Items in the Secondary Menu #4043

Closed
RohanSharma2598 opened this issue Jul 20, 2023 · 1 comment
Closed
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. tiny (1h) - This label is used for issues that can be completed in under an hour.

Comments

@RohanSharma2598
Copy link

Description

When we create a Menu in Appearance > Menus in a way that it has Menu Items and sub-items, and then go to Appearance > Customize > Header, add a Secondary Menu block, and select the Menu which has Menu items and sub Menu items, it changes the sub-menu items to the Main Menu items.

Step-by-step reproduction instructions

  1. Go to Appearance Menus and create a Menu with items and sub-menu items.
  2. Set it as Secondary Menu and save the changes.
  3. Go to Appearance > Customize > Header, and add a Secondary Menu Block.
  4. You will see that your Sub Menu items are now visible with the Parent Menu items and are not present in the dropdown.

Screenshots, screen recording, code snippet or Help Scout ticket

Help Scout: https://secure.helpscout.net/conversation/2304172892/378000?folderId=212385

Screenshots:
https://share.getcloudapp.com/Wnu6D00G
https://share.getcloudapp.com/2Nup7llq
https://share.getcloudapp.com/Z4uGDjjn

Environment info

No response

Is the issue you are reporting a regression

No

@RohanSharma2598 RohanSharma2598 added the bug This label could be used to identify issues that are caused by a defect in the product. label Jul 20, 2023
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Jul 20, 2023
@RohanSharma2598 RohanSharma2598 changed the title Sub Menu items changes to the Main Menu Items in the Secondary Menu Sub Menu items changes to the Parent Menu Items in the Secondary Menu Jul 20, 2023
@cristian-ungureanu cristian-ungureanu added the tiny (1h) - This label is used for issues that can be completed in under an hour. label Aug 8, 2023
@cristian-ungureanu
Copy link
Contributor

@RohanSharma2598 This is not a bug, it's the desired behavior.

The Secondary Menu is a single-level menu. Dropdown menus can't be used with this component.

Source: https://docs.themeisle.com/article/1237-secondary-menu#general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. tiny (1h) - This label is used for issues that can be completed in under an hour.
Projects
None yet
Development

No branches or pull requests

3 participants