javascript-tutorial / javascript-tutorial/en.javascript.info

"read this before commenting…" pop-up is difficult to hover over

Open
#2,626 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

When you hover over the *read this before commenting…* text near the end of an article, a yellow pop-up or message box shows itself with relevant links and instructions, as expected.

However, when you try to move the mouse pointer, for example, to click some of the links in the pop-up box, the pop-up box tends to disappear because it detects that the mouse has moved off the box. It seems that it only reliably keeps the pop-up box open if you hover over the triangle pointer that connects the pop-up box and the *read this before commenting…* text. This is a bit annoying, since it is quite a small area to have to hover over.

I can think of two (non-mutually-exclusive) solutions:

1. Make the entire bottom portion of the pop-up box, not just the triangle, report that the mouse is hovering over so the pop-up does not disappear.
2. Add a longer delay between moving the mouse pointer off the pop-up box and the pop-up box disappearing, like a fade-out or similar.

Thank you for your time!

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

No file or test is named. Start by locating the article's “read this before commenting…” hover entry point and reproduce moving the pointer from the text to the pop-up links; done when the pop-up remains usable while moving into and interacting with it without unwanted dismissal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.