ClipboardPopover starts hidden with data-state="open"

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

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

Đánh giá

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

Hướng nghiên cứu

On the 2.0 line, inspect clipboard_popover.rb and its default_attrs state, then compare clipboard_controller.js with the clipboard/popover_* snapshots. Confirm the initial hidden panel uses the closed state and re-record the affected snapshots, reviewing the diff against the expected 2.0 output.

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

Mô tả

bug
  • Where: clipboard_popover.rb default_attrs sets state: :open on a panel that starts hidden; clipboard_controller.js sets open in showPopover and closed in hidePopover. Snapshots clipboard/popover_*.
  • Effect: the hidden panel is labelled open, unlike ContextMenu, HoverCard and Popover (closed at rest). Low user impact: the animate-in classes still run when the element is first displayed.
  • Fix: state: :closed; re-record clipboard/popover_*.

Surfaced by the strict lane of the golden HTML suite (PR #548), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshots that pin it are re-recorded there with the diff reviewed.

Source: design/v2/follow-up-issues.md.

Ngôn ngữ chính
Ruby
Star
1k
Fork
67
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
18

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

Mở hướng dẫn đóng góp

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.

Issue khác của ruby-ui/ruby_ui

Tất cả issue của ruby-ui/ruby_ui

Issue tương tự

Thêm issue về Ruby

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.