w3c / w3c/editing

Safari Desktop: When aborting a soft-keyboard-driven IME, the new selection is not set

Open
#507 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
202
Forks
43
PR merge metrics
No merged PRs in 30d

Description

See this reproduction:

https://github.com/user-attachments/assets/8c0638b1-14ee-4713-9456-0ee66e35ffff

However, when you abort a dead-key-driven IME, it works. E.g. pressing ^ and then clicking somewhere else, it works fine.

Seems to be a general issue when using Safari and composition via the virtual keyboard, I guess related to window focus management on OSX. This problem does not exist in Chrome and Firefox though.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction and compare the abort behavior for soft-keyboard-driven and dead-key-driven IME composition in Safari. Reproduce the issue on Safari desktop, then compare Chrome and Firefox as described; done means the new selection is set after aborting the soft-keyboard composition without regressing dead-key behavior.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.