[wp-trac] [WordPress Trac] #17863: HTML5 input type=number in admin settings

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 17 19:37:04 UTC 2012


#17863: HTML5 input type=number in admin settings
--------------------------------+------------------------------
 Reporter:  niallkennedy        |       Owner:  georgestephanis
     Type:  task (blessed)      |      Status:  reopened
 Priority:  normal              |   Milestone:  3.4
Component:  Administration      |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch revert  |
--------------------------------+------------------------------

Comment (by georgestephanis):

 Replying to [comment:48 azaozz]:
 > Replying to [comment:44 batmoo]:
 > > The post schedule inputs are a bit squished because of the added
 browser chrome.
 >
 > Yes, there's #20217 to address that. Thinking the consensus is to revert
 that for now as making the fields wider is... oogly(er) (also they would
 have to be even wider to display correctly in all browsers/OS
 combinations).

 We could just use CSS to hide the number scroll buttons.

 http://stackoverflow.com/questions/3975769/disable-webkits-spin-buttons-
 on-input-type-number

 Keep the keyboard on mobile, but don't allow any UI changes.

 Alternately, we can add a class or data-mobiletype="number" attribute and
 use JS to change the actual type on mobile browsers (building off the
 mobile/touch browser detection I included in #20014)

 Just my 2c.

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


More information about the wp-trac mailing list