[wp-trac] [WordPress Trac] #29632: wpColorPicker does not respect `hide` option

WordPress Trac noreply at wordpress.org
Tue Sep 16 23:15:41 UTC 2014


#29632: wpColorPicker does not respect `hide` option
--------------------------+------------------
 Reporter:  tollmanz      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by tollmanz):

 In looking at this some more, I see that there is code that attempts to
 trigger the click event on the "toggle" element, effectively opening the
 color picker; however, it is tricky to consistently trigger such an event
 on a ''hidden'' element, which was a requirement in my case.

 Respecting the `hide` option by passing it to the `iris()` function still
 seems to be a valid solution.

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


More information about the wp-trac mailing list