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

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

未關閉
#2,626 0 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

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!

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

未指定檔案或測試。首先定位文章中「read this before commenting…」的懸停入口,並重現將指標從文字移向彈出視窗連結的操作;當指標移入彈出視窗並與其互動時,彈出視窗仍可正常使用且不會意外消失,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。