arnog / mathlive

A web component for easy math input
https://cortexjs.io/mathlive
MIT License
1.58k stars 277 forks source link

VirtualKeyboard stops accepting keytouches after a few rapid keypresses #2254

Open DZiems opened 10 months ago

DZiems commented 10 months ago

Description

Typing keys in rapid succession on the virtual keyboard seems to disable/halt any further input. Pressing backspace quickly is a common use case affected by this.

Steps to Reproduce

  1. Open a mobile instance of a mathfield and focus it to bring up the virtual keyboard.
  2. Type any key or keys in rapid succession.
  3. After about two or three rapid keytouches, input stops being received.

Actual Behavior

Keypresses stop inputing values.

Expected Behavior

Keypresses should continue to input values regardless of typing speed.

Environment

Is this a regression: did it use to work in a previous version?

(edit) I think so. On cortexjs.io/mathlive/demo, single keytouches can be executed in rapid succession (now this doesn't work), but multi-touches caused a focus bug (which was just recently addressed in issue #2244).

MathLive version
0.98.5 Using the following commit from this repo (most up-to-date version as of writing). [49f11e2]

Operating System macOS, Windows, iOS. Include the version iOS 17.1.2

Browser Safari and Chrome have this identical behavior.

Abhishek-Nair-135 commented 2 months ago

I'm facing this issue as well. But was able to reproduce only on iOS devices.

tomas-sipko commented 1 month ago

Having the same issue, are there any updates?