Skip to content

x/pkgsite: Wrong section expanded when clicking a collapsable header #76689

@dan0delellis

Description

@dan0delellis

What is the URL of the page with the issue?

Any documentation page on pkg.go.dev is susceptible. Example pages:
https://pkg.go.dev/time
https://pkg.go.dev/encoding/json

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0

Screenshot

Image Image

What did you do?

Open page, click 'Types' or 'Functions' in the left navigation pane

What did you expect to see?

An expanded list of available Types or Functions, respectively, in the time package

What did you see instead?

An expanded list of Examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.pkgsite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions