huggingface / huggingface/doc-builder

Searching does not update the sidebar on Firefox

Open
#457 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
144
Forks
59
Avg merge
2d 5h
Merged PRs (30d)
13

Description

Hello!

## Bug summary
* After searching in the documentation and moving to a new page, the sidebar stays related to the old page on Firefox.

## How to reproduce
1. Go to https://huggingface.co/docs/hub/collections and observe the sidebar:
![image](https://github.com/huggingface/doc-builder/assets/37621491/239abe03-2129-4cc5-862c-7a45123cbc0f)
2. Search for "widget" and click on the first option:
![image](https://github.com/huggingface/doc-builder/assets/37621491/f5434c15-d546-4f51-a9c8-a4201f46d869)
![image](https://github.com/huggingface/doc-builder/assets/37621491/427f619c-1a28-4213-ba2f-976c81475d05)
3. Observe that the sidebars still correspond with Collections.
4. Refresh the page with F5
![image](https://github.com/huggingface/doc-builder/assets/37621491/5c2264f0-df7c-4c44-9151-b99d66804c00)
Only then do the sidebars correctly update.

I only encountered this behaviour on Firefox, not on Edge.

- Tom Aarsen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.