Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle 229 key code as Backspace #13

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yukipastelcat
Copy link

@yukipastelcat yukipastelcat commented Feb 25, 2025

Ticket: https://oat-sa.atlassian.net/browse/INF-300

What's Changed

Safari on iOS uses 229 as "Backspace" code when using Japanese IME.
To replicate this behaviour on macOS you can use the Simulator.

How to test

On macOS:

  1. Open any iPad simulator via FileOpen simulator and wait until virtual device boots up
  2. Go to Settings → General → Keyboard → Keyboards
  3. Search for Japanese keyboard and select Kana variant (important!)
  4. Open Safari in simulator and go to https://tenant01-oat-dev.dev.gcp-eu.taocloud.org/deliveries
  5. Search for INF-300 Math Entry Possibly Fixed Test 2 and click Preview
  6. Use on-screen keyboard for inputs

How to reproduce the backspace bug

  1. Input one character into the text field via Japanese IME
  2. Try to erase it via backspace

@yukipastelcat yukipastelcat marked this pull request as draft February 25, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant