[wp-trac] [WordPress Trac] #21206: Replace Farbtastic color picker with ???...

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 18:51:27 UTC 2012


#21206: Replace Farbtastic color picker with ???...
-----------------------------------+------------------------------
 Reporter:  lessbloat              |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch ux-feedback  |
-----------------------------------+------------------------------

Comment (by mattwiebe):

 Replying to [comment:14 azaozz]:
 > Opera already supports HTML 5.0 `<input type="color">` and the other
 browsers will eventually support it. Should the color picker detect that
 support and not overwrite it?

 I like the idea on principle and considered it. [http://caniuse.com/#feat
 =input-color CanIUse] also indicates that Chrome supports `<input
 type="color" />`, which brings the conversation well past Opera's meagre
 adoption. But, after looking at their implementations, I'd avoid `<input
 type="color" />` right now for 3 reasons:

 1. Opera and Chrome have different base implementations. Inconsistent UX.
 2. Both open the host OS's color pickers, providing divergent UX across
 platforms. Also, both Windows and OS X color pickers take a "more is more"
 approach, providing too many options for a simple UX.
 3. The `change` event is not fired in real-time - only after the OS picker
 is closed. This makes the instant responsiveness of the customizer
 impossible. This is the real deal-breaker to me.

 The nice part about having a wrapper like `wpColorPicker`, however, is
 that we can revisit this in the future should native inputs match our
 needs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21206#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list