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

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

Đang mở
#2,626 0 bình luận 5 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
HTML
Star
25.5k
Fork
4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách xác định điểm bắt đầu hover “read this before commenting…” của bài viết và tái hiện việc di chuyển con trỏ từ văn bản đến các liên kết trong pop-up; hoàn tất khi pop-up vẫn có thể sử dụng được trong lúc di chuyển con trỏ vào đó và tương tác với nó mà không bị đóng ngoài ý muốn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.