Bug 227429 - Dismissing software keyboard causes <select> menu to pop up
Summary: Dismissing software keyboard causes <select> menu to pop up
Status: CLOSED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-27 09:06 PDT by Jeff Johnson
Modified: 2021-06-27 10:29 PDT (History)
3 users (show)

See Also:


Attachments
Sample HTML reproduction case (320 bytes, text/html)
2021-06-27 09:06 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnson 2021-06-27 09:06:24 PDT
Created attachment 432352 [details]
Sample HTML reproduction case

Steps to reproduce:
1. Open attached HTML in Safari iOS.
2. Touch inside the <input> element to show the software keyboard.
3. Touch the keyboard widget to dismiss the software keyboard.

Actual results: The <select> element menu pops up.

Expected results: The <select> element menu does not pop up.

I can reproduce this bug with every configuration I've tested: iPhone and iPad devices, iOS 14, iOS 15 beta, and iOS 12.
Comment 1 Wenson Hsieh 2021-06-27 09:39:19 PDT
> 3. Touch the keyboard widget to dismiss the software keyboard.

To clarify — is this referring to the "Done" button on the software keyboard?
Comment 2 Jeff Johnson 2021-06-27 09:44:39 PDT
(In reply to Wenson Hsieh from comment #1)
> > 3. Touch the keyboard widget to dismiss the software keyboard.
> 
> To clarify — is this referring to the "Done" button on the software keyboard?

No, the ^ widget. The intention is to cancel and not enter any text into the input.
Comment 3 Wenson Hsieh 2021-06-27 09:54:33 PDT
(In reply to opendarwin from comment #2)
> (In reply to Wenson Hsieh from comment #1)
> > > 3. Touch the keyboard widget to dismiss the software keyboard.
> > 
> > To clarify — is this referring to the "Done" button on the software keyboard?
> 
> No, the ^ widget. The intention is to cancel and not enter any text into the
> input.

The ˄ and ˅ buttons above the software keyboard move focus between form controls. Pressing ˄ focuses the previous form control (in this case a select, which shows a popover or context menu, depending on iOS version).
Comment 4 Jeff Johnson 2021-06-27 09:58:04 PDT
You're right, I was looking at the wrong button to dismiss the keyboard. Sorry! I'm marking this bug as invalid.