dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
4.09k stars 868 forks source link

[Bug] Modern template does not support scroll spy #8539

Open chuongmep opened 1 year ago

chuongmep commented 1 year ago

Describe the bug

When we scroll mouse, content not follow by step.

image

To Reproduce Steps to reproduce the behavior:

  1. Use new Modern templete
  2. See error

Expected behavior It will be look good like default templete

image

Screenshots If applicable, add screenshots to help explain your problem.

Context (please complete the following information):

Additional context Add any other context about the problem here.

yufeih commented 1 year ago

Starting from bootstrap 5.2, the scrollspy becomes pretty unusable: https://github.com/twbs/bootstrap/issues/36431 We can wait for a fix to land in bootstrap or use a different scrollspy library.

MJECloud commented 7 months ago

Any updates on this? 😊

chuongmep commented 7 months ago

Hi @MJECloud , this is problem resolved

MJECloud commented 7 months ago

Ah okay, so it's resolved by rendering all headlines? For example on the docfx website it doesn't highlight where you are. Which works in the Default Template.

image

chuongmep commented 7 months ago

I think we should open another issue