hypothesis / hypothesis/client

Sidebar occasionally appears on left side of screen

Open
#7,307 2 comments 0 reactions 1 assignee Claimed by @robertknight View on GitHub
Dominant language
Mustache
Stars
730
Forks
224
PR merge metrics
No merged PRs in 30d

Description

@acelaya and I have noticed an issue since deploying https://github.com/hypothesis/client/pull/7291 where the sidebar occasionally appears on the left-side of the screen. The problem fixes itself if the window is resized or the page is reloaded. The issue seems more prone to happening just after a deploy.

Image

Opening devtools fixes the issue because this changes the window size. That can be worked around by configuring the devtools to open in a new window.

Inspecting the DOM when this happens shows that the `margin-left` value on the sidebar is larger than it should be:

Image

On my display, the `margin-left` value is normally smaller:

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.