You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pressing and holding backspace on mobile through the last character remaining in a block will stop the backspace, and the first letter will not be deleted. I need to lift my finger off the backspace key and hold it again to delete the first letter, but backspacing stops again before entering the next block.
Sometimes my keyboard will be removed as I'm backspacing too.
I was reading through the Android support issue and I saw it mentioned that we need an android plugin, but I'm not sure if that's still the case since there are only 3 commits in the android plugin repo from November 2020. If that's the case please let me know and I'll give that a try.
Copy and paste the example line a few times, pressing enter before each paste so each new line is a new node.
Select the sample document (anywhere will do, but it seems like the effect is most noticeable when blocks are shorter and more varied, and the document is longer)
Start holding backspace
Expectation
When tapping backspace, the character behind the caret should be deleted, the caret position should be moved forward one character, and the mobile keyboard should still be active.
When holding backspace, it should produce the same behaviour as when we tap backspace but characters should continuously be deleted.
Environment
Slate Version: Whichever is used to power the plaintext example at the time of writing
Google Pixel 4
GBoard version: 11.4.07.422524001
Chrome version: 100.0.4896.127
Android version: 12
Android build number: SP2A.220305.012
The text was updated successfully, but these errors were encountered:
I have similar issues on Android, it seems to have to do with fast input, similar issues arise when typing fast; It will skip characters and often revert the cursor back to a previous focus point, often where you started typing; Waiting a few seconds will often avoid it.
I believe it has to do with some artificial delay or debounce. I remember reading this somewhere in the issues here. There's some odd things about the android input that doesn't seem to be universal.
But typing fast does not feel smooth at all, let alone holding backspace. #4715
Description
Pressing and holding backspace on mobile through the last character remaining in a block will stop the backspace, and the first letter will not be deleted. I need to lift my finger off the backspace key and hold it again to delete the first letter, but backspacing stops again before entering the next block.
Sometimes my keyboard will be removed as I'm backspacing too.
I was reading through the Android support issue and I saw it mentioned that we need an android plugin, but I'm not sure if that's still the case since there are only 3 commits in the android plugin repo from November 2020. If that's the case please let me know and I'll give that a try.
Recording
Note that I'm constantly holding down the backspace key in this video. When backspacing stops it is not because I have lifted my finger off the backspace key
https://user-images.githubusercontent.com/30154910/164515307-8b835bbc-0bab-4bb8-9541-ade7896ace98.mp4
Sandbox
https://www.slatejs.org/examples/plaintext
Steps
To reproduce the behavior:
Expectation
When tapping backspace, the character behind the caret should be deleted, the caret position should be moved forward one character, and the mobile keyboard should still be active.
When holding backspace, it should produce the same behaviour as when we tap backspace but characters should continuously be deleted.
Environment
The text was updated successfully, but these errors were encountered: