[wp-trac] [WordPress Trac] #26600: Search installed themes input has no submit button
WordPress Trac
noreply at wordpress.org
Tue Mar 31 16:50:49 UTC 2015
#26600: Search installed themes input has no submit button
----------------------------------+----------------------------------------
Reporter: grahamarmfield | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.2
Component: Themes | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch dev- | Focuses: accessibility, javascript
feedback |
----------------------------------+----------------------------------------
Comment (by afercia):
Replying to [comment:53 adamsilverstein]:
> * As far as i can tell, 'search': 'search', is never triggered and
can/should be removed
Found something, maybe just Safari and Chrome related?
"Occurs when the user presses the ENTER key or clicks the 'Erase search
text' button (x) in an input:search field." Debugged and yes fires in
Chrome when pressing Enter or clicking the "x" (-webkit-search-cancel-
button). I assume it can be removed since there's no need to press Enter
and when you click the "x" there's already an "input" event.
`change` should be removed since it fires just when the value is changed
and the input loses focus so we don't need it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26600#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list