Parent admin menu is not being set to active properly

Hi, I am using pre-built UserHub template to reproduce this bug.

Whenever, I select a child menu from the admin menu (inline behaviour), then its corresponding parent menu is supposed to be set to active as well. However, it happens only when first child menu is selected. If any child menu other than first is selected, parent menu doesn't set to be active.

For example: If I selected the menu item Page 1 > Page 2 then the active attribute for both page 1 and page 2 is set to true. Please refer to the following screenshot:

On the other hand, if I select Page 1 > Page 3. It doesn't set the active attribute to true for page 1 this time. Please refer to the attached screenshot:

Type @ to mention posts
Upvoters
Status

Completed

Board

πŸ› Bug Reports

Date

16 days ago

Author

Aryan Shakya

Subscribe to post

Get notified by email when there are changes.