leanprover / leanprover/leanprover.github.io

mouse-hover type information breaks on pane resize

Open
#61 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
17
Forks
25
PR merge metrics
No merged PRs in 30d

Description

The new version of the tutorial includes type information on mouse hover. This is a great feature, but there is a bug, which manifests itself when one resizes the horizontal pane bar:

paneresize

The issue is that the mouse hover information isn't available in the new position of the proof term, instead, it is available at a shifted location, at the original position of the term before pane resize.

The issue is present on all 3 browsers I've tested:

  1. Opera
  2. Firefox
  3. Chrome

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the linked new tutorial version, using the horizontal pane bar and checking hover information before and after resizing. Test the behavior in Opera, Firefox, and Chrome; done means hover information remains aligned with the proof term's new position after resizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.