Thanks to visit codestin.com
Credit goes to github.com

Skip to content

x/pkgsite: cannot see type methods in sidebar if there are examples nearby #75369

@maddyblue

Description

@maddyblue

What is the URL of the page with the issue?

https://pkg.go.dev/time#Ticker

What is your user agent?

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Screenshot

No response

What did you do?

Clicked on the down arrow next to Types, then the down arrow next to Ticker.

What did you see happen?

When clicking on the arrow next to Ticker, its method types briefly expand, then the sidebar jumps to the Examples section highlighting NewTicker, and the Types -> Ticker sidebar is collapsed.

This actually is happening more than half the time when just clicking on the arrow next to Types. It takes many clicks to get the Types section to stay expanded.

What did you expect to see?

The sidebar to remain expanded on the thing I clicked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions