Skip to content

Same page anchor links still do a fetch() request #898

@Mpdreamz

Description

@Mpdreamz

Describe the bug

Clicking on AVG which is an anchor on the same page still does a fetch() for the page through HTMX.

https://staging-website.elastic.co/docs/reference/query-languages/esql/esql-functions-operators

Expected behavior

Behave the same as clicking on the links in the on page table of content to the right and directly go to the anchor.

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions