dotnet / dotnet/docfx

Breadcrumb bar initially shows the item selected from dropdown, but not after navigating to child item

Open
#7,375 4 comments 0 reactions 0 assignees View on GitHub
toc
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

**Operating System**: Windows

**DocFX Version Used**: 2.57.2

**Template used**: default

**Steps to Reproduce**:

1. Expand [docfx-dropdown-breadcrumb.zip](https://github.com/dotnet/docfx/files/6523567/docfx-dropdown-breadcrumb.zip)
2. `cd docfx-dropdown-breadcrumb`
3. `docfx build --serve`
4. Browse to
5. Click "Mobile apps" in the top navigation bar.
The dropdown list opens and contains items "App A" and "App B".
![image](https://user-images.githubusercontent.com/46201428/119163675-4b6f1880-ba64-11eb-9e9b-4b81f4211e1b.png)
6. Click "App A" in the dropdown list.
This navigates to . The breadcrumb bar says "App A". The table of contents shows that there is only one child item, "Credits".
![image](https://user-images.githubusercontent.com/46201428/119163100-c3890e80-ba63-11eb-8c65-b1d49a00dc14.png)
7. Click "Credits" in the table of contents.
This navigates to .

**Expected Behavior**:

The breadcrumb bar shows "App A" and "Credits".

**Actual Behavior**:

The breadcrumb bar shows only "Credits".
![image](https://user-images.githubusercontent.com/46201428/119163307-f6330700-ba63-11eb-8e06-c992acaf3138.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.