Skip to content

Dismissing PR preview banner loses position on the page #246

@hugovk

Description

@hugovk

Details

  1. Go to https://pep-previews--3649.org.readthedocs.build/pep-0742/#type-narrowing-behavior

You are taken to the desired page and anchor, but a banner is displayed with the text

This page was created from a pull request build

See the build's detail page or pull request readthedocs/readthedocs.org#3649 for more information.

  1. Click the 'x' to dismiss the banner

Expected Result

Stay in the same position on the page.

Actual Result

Takes you to the top of the page.

See also

Originally reported at python/peps#3657

Metadata

Metadata

Assignees

Labels

AcceptedAccepted issue on our roadmapBugA bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions