8000 [Bug] Modern template does not read the value of "tocFilter" in local storage. · Issue #9791 · dotnet/docfx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug] Modern template does not read the value of "tocFilter" in local storage. #9791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AnalogFeelings opened this issue Mar 15, 2024 · 1 comment
Labels
template The stock site template

Comments

@AnalogFeelings
Copy link

Describe the bug
The TOC filter bar stores its content inside "tocFilter" in the local storage, most likely to load it back in on page reload, like the older versions did.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any page with a TOC
  2. Put any filter on the filter bar
  3. Click on a page/reload
  4. The filter bar is empty

Expected behavior
The filter bar should keep its value by reading the "tocFilter" variable inside local storage on element construction.

Screenshots
None

Context (please complete the following information):

  • Browser: Edge (Chromium)
  • Form factor: All
  • Docfx version: 2.75.2
  • Template: modern

Additional context
None

@AnalogFeelings
Copy link
Author

Closing as #9912 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template The stock site template
Projects
None yet
33E2
Development

No branches or pull requests

1 participant
0