[Webkit-unassigned] [Bug 261764] New: iOS/iPadOS dictation doesn't trigger composition events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 19 12:38:14 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=261764
Bug ID: 261764
Summary: iOS/iPadOS dictation doesn't trigger composition
events
Product: WebKit
Version: Safari 17
Hardware: iPhone / iPad
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: krevis at figma.com
On iOS and iPadOS, using the OS dictation feature to enter text does not trigger composition events like `compositionstart`, `compositionupdate, `compositionend`. We only see `beforeinput` and `input`.
Compare to Safari on Mac (and Chrome and Firefox), where composition events do happen.
Steps:
1. Go to https://developer.mozilla.org/en-US/docs/Web/API/Element/compositionstart_event
2. Scroll down to the demo, click in the text field
3. Activate the OS's dictation feature (e.g. by pressing the microphone button on the iOS soft keyboard, or by pressing the microphone button/F5 on a Mac laptop)
4. Say "Hello"
5. Deactivate dictation
6. Observe what's in the "Event Log" area
Expected:
A `compositionstart` event, a sequence of `compositionupdate` events, then a `compositionend` with the full text "Hello".
Actual:
Nothing is logged, the event log is empty. No composition events happened.
Notes:
- Here's the output in Safari 16.6 on macOS 13.5.2:
compositionstart:
compositionupdate: H
compositionupdate: He
compositionupdate: Hel
compositionupdate: Hell
compositionupdate: Hello
compositionupdate: Hello
compositionupdate: Hello
compositionend: Hello
- And in Chrome 116.0.5845.187 on macOS 13.5.2:
compositionstart:
compositionupdate: H
compositionupdate: He
compositionupdate: Hel
compositionupdate: Hell
compositionupdate: Hello
compositionupdate: Hello
compositionupdate: Hello
compositionupdate: Hello
compositionupdate: Hello
compositionend: Hello
- And in Firefox 117.0.1 on macOS 13.5.2:
compositionstart:
compositionupdate: H
compositionupdate: He
compositionupdate: Hel
compositionupdate: Hell
compositionupdate: Hello
compositionend: Hello
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230919/b7a35300/attachment.htm>
More information about the webkit-unassigned
mailing list