-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Bug] Keyboard issue on Android mobile devices #7
Comments
idk if it will work i was the one who added the keyboard button and i only have iOS so i only tested it there |
This comment was marked as outdated.
This comment was marked as outdated.
moves the game down? if its moving the game out of the way for the keyboard then thats probably built into the os/browser. |
Yeah but it also makes like idk white gap between keyboard and game it can be also bug of this js feature idk but anyways it isnt such critical bug the most critical that it wont type at all |
But the keyboard opens right? |
It opens keyboard but it wont type leme attach photos |
This comment was marked as off-topic.
This comment was marked as off-topic.
I have several ideas I can try, but support is limited since we currently don’t have any android devices to test with.
|
I mean we could test in android studio just running a browser |
Okay, I hope y'all will be able to fix it. By the way you can emulate android using BlueStackX or smth |
Also good option |
I just quickly added both ideas, holler if it makes a difference. |
Leme test it rq |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
I need to do some more research on this. I’ll get back to you. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I think now its kinda chrome issue fully.. |
let me test it on chrome on ios and see if i get the same issues |
no i dont get the issue but its probably because apple makes google use webkit on ios chrome but on android im guessing it uses chromium? |
Yeah it definitely uses Chromium ig. Anyways it still happens probably even android bug idk. The fact keyboard is hella buggy is fact |
try using another browser that has another engine like firefox and see if it happens there |
I know for a fact that your browser should support Function.prototype functions, which means something else is going wrong outside the scope of what I understand. I haven’t been able to reproduce this error on any other device, which means that until I have time to install BlueStackX, I can’t trouble shoot what is going wrong in these functions:
It will be a bit until I can try out BlueStackX, so unless someone else knows what’s going wrong, this will take a while. |
can someone else fix this then? |
Someone else is welcome to try. If they can figure out why your specific device doesn’t handle |
Alright, this is my last attempt on this particular solution for the android keyboard problems. It works on Safari, macOS chrome, and even Orion, so if it throws an error on your device, I’m out of ideas. |
Testing... |
It throws error in multiplayer tab mostly |
Wait it does this without you even typing? |
Hi yeah managed to recreate it in other pages too, anyways yeah it crashes without any interaction i guess i explained really bad. My bad, I'll wait for a fix and sorry that I explained without big ammount of details :) |
I think I fixed it. Currently anything besides a-z, A-Z, 0-9, and the delete key will probably not work, but if there’s no crashes that will be easy to fix. |
I think there’s a syntax error in there somewhere, so if it looks broken it’s my fault. I’ll fix it this afternoon. |
Okay testing updated version |
But yeah it fixed error and I managed to join server ^^^ |
That’s a step in the right direction then, that’s very exciting.
I’m hoping it’s just that I broke something small when I reworked the keyEvent function, because that’s an odd issue. I’ll look into it further tomorrow, thanks for testing. |
Out of curiosity, when you go to chat is there a blinking "_" that displays where you would be typing? |
Hello im back I'll test in minutes |
Wait where is latest code just it shows yesterday at all js codes if you mean at all version no its not blinking _ if you about new version idk where it is located at Edit: not all versions but old version did typo* |
I'm going to close this issue and open a new one specifically for not being able to type in chat on android, since we have solved the problem with not being able to dispatch valid keyboard events. |
I just realized that this is not fully fixed with some Android devices, although I think got it working on the |
Describe the Bug
Keyboard doesn't work correctly (or at all) on android phone (redmi 8). Wont type in chat or and wont type in username field.
Steps to Reproduce
Start launcher, click keyboard button try to type and see it works broken or dont work at all.
Additional Information
Browser google and chrome. Latest version available from google play market. Phone redmi 8 using google keyboard and android version 10, MIUI 12.5.3 (stable version)
The text was updated successfully, but these errors were encountered: