[wp-trac] [WordPress Trac] #60082: "Copied" tooltip should be hidden when another attachment URL is copied (in list mode) (was: Media: "Copied" tooltip should be closed)

WordPress Trac noreply at wordpress.org
Sat Jan 6 07:14:28 UTC 2024


#60082: "Copied" tooltip should be hidden when another attachment URL is copied (in
list mode)
--------------------------+--------------------------------------------
 Reporter:  jayadevankbh  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, accessibility, javascript
--------------------------+--------------------------------------------
Changes (by sabernhardt):

 * keywords:   => needs-patch
 * focuses:  ui, accessibility => ui, accessibility, javascript
 * severity:  critical => normal
 * version:   => 6.0


Comment:

 Thanks for the report!

 The row action was added in #54426.

 Clicking a second attachment's "Copy URL to clipboard" button less than 3
 seconds after the clicking the first allows the success message to persist
 indefinitely in the first attachment's row.

 Maybe the script should restore the `hidden` class on //all// of the
 `.success` elements whenever another copy button is activated.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60082#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list