ClipboardPopover starts hidden with data-state="open"

Open
#552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript, ruby
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Ruby
Stars
1k
Forks
67
Avg merge
2d 19h
Merged PRs (30d)
18

Contributor guide

Open the contributing guide

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.

More from ruby-ui/ruby_ui

All issues in ruby-ui/ruby_ui

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.