Skip to content

[cs2103 website] Some site-nav items are not highlighted when open #1615

Description

@damithc

Deployed site: https://nus-cs2103-ay2021s2.github.io/website/admin/index.html

Clicking on this site-nav item will auto-expand the parent menu and highlight the item in blue after the target page is loaded, as expected.
image

Problem: If I click on this item, the correct item is highlighted in blue but the parent menu is not auto-expanded after the target page is loaded.
image

The target page looks like this:
image

If I expand the parent menu manually, the correct menu item is actually highlighted in blue.
image

Steps to reproduce locally:

The relevant site-nav code is here https://raw.githubusercontent.com/nus-cs2103-AY2021S2/website/master/_markbind/layouts/sitenav-admin.md

This is not urgent or critical but hope someone can help me locate the problem -- could be a problem in my code rather than a MarkBind bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions