Skip to content
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

Table of Contents Wrong Active Element #6074

Open
1 of 6 tasks
vittxr opened this issue Jan 10, 2025 · 1 comment
Open
1 of 6 tasks

Table of Contents Wrong Active Element #6074

vittxr opened this issue Jan 10, 2025 · 1 comment

Comments

@vittxr
Copy link

vittxr commented Jan 10, 2025

Description

When clicking in the "See also" anchor, the active element is the above anchor. (History)

URL of Issue(s)

https://docs.cypress.io/api/commands/window#See-also

Steps to replicate

  1. Go to the page
  2. Click in the "See also" anchor

Image

Browser

Chrome 131

Device

  • PC
  • Mac
  • iPhone
  • iPad
  • Android Phone
  • Android Tablet

Additional Information

The issue is not happening in all pages, here it is working for example.

@MikeMcC399
Copy link
Contributor

I can confirm the issue you report. The wrong entry in the CONTENTS table on the right of the page is highlighted. This also happens on some other pages.

  1. Open page https://docs.cypress.io/api/commands/as
  2. Click on "See also" in right-hand CONTENTS section
  3. Browser scrolls down to "See also" section
  4. Displays https://docs.cypress.io/api/commands/as#See-also in address bar
  5. "History" is highlighted in right-hand CONTENTS section

Expected would be that "See also" is highlighted in right-hand CONTENTS section.

The problem does not depend on the browser and is reproducible on:

Chrome 131.0.6778.265 (Official Build) (64-bit)
Firefox 134.0
Edge Version 131.0.2903.112 (Official build) (64-bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants