-
Bug
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-74117-master -
-
0
-
HQ Team International CIH2-220, HQ Team International CIH2-221
When you click on a menu item that is a parent to a child/sub-menu, the active item indicator (underline) lags one step behind the item which was actually clicked even though the correct dropdown menu opened.
The best way to demonstrate the issue is using the following animation:
Steps to reproduce the issue
- Login to Moodle 4.0 as a site administrator.
- Ensure that you are using the Boost theme.
- Navigate to Site Administration > Appearance > Themes > Theme Settings
- Add the following to the Custom Menu Items field and click Save Changes at the bottom of the page:
Theme
-Boost|/?theme=boost
-Classic|/?theme=classic
Help
-FAQ|/mod/page?id=23
-About us|/mod/page?id=25
-Latest news|/mod/page?id=27
- Click Help in the primary navigation
- Verify that the Help dropdown menu appears. A focus box should appear around the top level Help menu item.
- Click Theme in the primary navigation.
- Verify that the Theme dropdown menu appears. A box should appear around the top level Theme menu item... but the focus box remains around the Help menu.
- From this point on, you can continue to click back and forth and even outside the menu and the focus box will always be one step behind what you just clicked.
This example only has 2 parent menu items however the same symptoms happen when you have more dropdown menus in the primary navigation.
Note that this does not affect single-level menu items (no dropdown) as they usually load a new page with every click.
Let me know if you have any questions.
Michael Milette
- has been marked as being related by
-
MDL-72481 Keyboard navigation does not work quite as expected on Tabs
- Closed