Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#27233 closed defect (bug) (fixed)

Themes: lose input focus when pressing enter

Reported by: matveb Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.8
Component: Themes Keywords: has-patch commit
Focuses: Cc:


Pressing enter should remove the focus from the input element. Specially annoying if you are on an iPad/iPhone — not losing focus means we keep the keyboard in view covering the screen.

Attachments (1)

27233.diff (452 bytes) - added by matveb 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @matveb
7 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.9

#3 @nacin
7 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27555:

Themes screens: Lose search input focus when pressing enter.

This allows the keyboard to close on iOS, for example.

props matveb.
fixes #27233.

Note: See TracTickets for help on using tickets.