Bug 247374 - IME keyboard does not work with manually focused input
Summary: IME keyboard does not work with manually focused input
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-02 12:46 PDT by Sean Perkins
Modified: 2023-01-31 15:50 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Perkins 2022-11-02 12:46:41 PDT
When manually focusing an input element with an IME active, the keyboard remains visible, but additional inputs to the keyboard do not register with the focused element.

Steps to reproduce:

1. Enable an additional IME on your iPhone (e.g. Enable Japanese - Romanji keyboard)
2. Visit: https://codepen.io/sean-perkins/pen/PoaNJov on Mobile Safari
3. Tap the focus the input and present the keyboard
4. Tap to change the keyboard to the alternate IME (e.g.: Japanese - Romanji)
5. Type with the keyboard
6. Observe: Keyboard input is registered in the form control
7. Click "Clear" button" with the keyboard open
8. Observe: Input is cleared, focus cursor indicates input is still active/focused
9. Type with the keyboard
10. Observe: Keyboard input is not registered in the form control

User interaction to blur and focus the input will result in the keyboard input being registered in the form control. 

Expected: When using an IME and manually focusing an input element, the keyboard should continue to register changes with the focused element.
Comment 1 Radar WebKit Bug Importer 2022-12-08 12:35:14 PST
<rdar://problem/103141758>
Comment 2 Robert Jenner 2023-01-31 15:50:17 PST
*** Bug 247073 has been marked as a duplicate of this bug. ***