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
Cannot use backspace in Android Chrome #1671
Comments
Which android version and which keyboard do you use? |
I just verified the issue on a Nexus 4 with android 4.3 and up-to-date chrome, default keyboard. I tried backspacing many times, and only once it performed a forward-delete, all the other times it did nothing. Typing is also very slow and it lacks the ability to select words on long pressing. |
Could you please try http://jsbin.com/AgELEqE/2/edit, to see which events chrome fires when backspace is pressed |
I press delete (backwards) from the end of both strings (abc and efg)
tested on nexus 4, Android 4.3 chrome 30 |
I'm sorry, I thought the test was about deleting from the HTML source (!) and instead I messed with the test source :) I tried to restore the original code, and this is what I get on Chrome on Mac when I: load the page, click on the end of the first input, click backspace, click on the end of the second input, click delete (subsequend backspaces just give more pairs keydown+input):
I added newlines between my actions. On Chrome on Android instead, it is like this: the first backspace gives "some" inputs and one keydown, subsequent backspaces just the input
A second session:
|
could you try with touch_handler branch https://rawgithub.com/ajaxorg/ace/touch_handler/kitchen-sink.html |
That works for me. Since I was complaining also about the general slowness on Chrome for Android, this last page you linked feels much faster than another one I had tried. |
Cool! It's a wip branch which will provide better support for android. We still need to cleanup it, and add a way to select words either with long press or tapping with two fingers. Thanks for the help! |
Awesome, thank you Harutyun! |
Still not fixed (LG-430). Backspace flashes Shift (and does nothing else) and pressing does not select. |
Android Nexus 5 running 4.4 - still cannot backspace w/ chrome browser at http://ace.c9.io/#nav=about or https://rawgit.com/ajaxorg/ace/touch_handler/kitchen-sink.html. |
Related chromium bug: https://code.google.com/p/chromium/issues/detail?id=118639. |
Same problem appears to afflict Firefox on Android. Kitchen-sink and Cloud9 both cosistently ignores backspace from virtual keyboard. Default IME on Nexus 5. Android 4.4.4 build ktu84p. Firefox 32.0.3. |
On Nexus 4 with android 4.4.4, backspace works in Chrome 39.0.2171.59, but does not work in Firefox 33.1. |
this mainly depends on keyboard app. |
This should be fixed by #3635, please let us know if you still can reproduce this on http://ace.c9.io. Thanks. |
I just checked it on http://ace.c9.io with my android HTC One M9 and it still doesn't work. Expected result: Actual result: |
@pascalaschwanden what keyboard do you use? |
The default keyboard on Android 7.0, whatever pops up when I'm in Chrome. thanks for the fast response. |
I've been working on some code to fix this problem: but it's a bit of a hack.
|
@pascalaschwanden looks like the event for backspace is not fired if cursor is at the beginning of the textarea. |
I just tried it on my android. Still doesn't work. sorry.
Pascal
…On Tue, Dec 18, 2018 at 7:10 AM Harutyun Amirjanyan < ***@***.***> wrote:
@pascalaschwanden <https://github.com/pascalaschwanden> looks like the
event for backspace is not fired if cursor is at the beginning of the
textarea.
Could you check if
https://rawgit.com/ajaxorg/ace/textinput/kitchen-sink.html works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1671 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AVOw3z7OA0Iixon8hHPx176cqf2bHXnuks5u6QVRgaJpZM4BKk1e>
.
|
Thanks for checking! could you please try this version too https://rawgit.com/ajaxorg/ace/textinput-2/kitchen-sink.html (i am asking because i can't reproduce the issue on my phone). |
Sorry still doesn't work.
The first backspace does work. Then the second one undoes that backspace
then third one does nothing, etc. Moving cursor restarts that cycle
…On Mon, Dec 24, 2018, 7:10 AM Harutyun Amirjanyan ***@***.*** wrote:
Thanks for checking! could you please try this version too
https://rawgit.com/ajaxorg/ace/textinput-2/kitchen-sink.html (i am asking
because i can't reproduce the issue on my phone).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1671 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AVOw36mKucB8Fk504g76rlDPFBAQbEDsks5u8O5RgaJpZM4BKk1e>
.
|
Interesting. From your code in #1671 (comment) it seems that backspace key with a correct keycode is fired, but editor doesn't handle it, or somehow reverts the action. Did i understand that example correctly? Could you please try enabling "Text Input debugger" from the sidebar, pressing backspace several times, and giving me the result from log area |
I cannot use backspace in Android's chrome, it doesn't delete nor move back, any ideas?
The text was updated successfully, but these errors were encountered: