[Mobile | App & Browser]
When I tap on my ‘Text Input’ Object, an unwanted Virtual Keyboard appears.
This obscures half the screen on Mobile, and forces the game resolution to shrink on Mobile Browsers.
How do I disable the Virtual Keyboard, without setting the Text Input Object to ‘read-only’?
The Keyboard should be disabled.
I believe this would also solve the resolution shrinkage problem on Mobile Browsers.
The TIO should not be set to ‘read-only’.
While it’s true that ‘read-only’ would prevent the Keyboard from appearing…
… When the TIO is read-only, users on Browser (PC & Mobile) would have no option to paste into the TIO when attempting to Join a Server, since Browsers have only restricted access to the Clipboard.
[Alternate Solution (if possible)]
Setting the TIO to read-only, so to disable the Keyboard…
… But somehow also enabling Browsers to access the Clipboard for copying and pasting.
One way I’ve managed to disable the keyboard, is by setting the TIO to ‘Read-only’.
Meaning that while users may still copy text from the TIO, they can’t paste text into the Input Field when it’s Read-only.
Yes, this disables the Keyboard, but ultimately renders my TIO unusable on Browser.
The ‘Clipboard’ extension doesn’t work on Browser…
…But pasting can still be done onto a TIO by Right-clicking/Tap-and-Holding the Input Field, then selecting ‘Paste’.
This method would probably never work on ‘Text Entry’ Objects however, since they don’t seem to have an Input Field.
I’m not sure if there’s a way to paste text into any Input Field, without necessarily also triggering the Virtual Keyboard on Mobile…
…unless the Keyboard is suppressed somehow.
Hi again, I opened your game in my laptop browser, copied the server id and sent it to myself and then opened the game on my android phone and pasted in the code and the game went back to full screen after I dismissed the keyboard unlike what you experienced above. It seemed like everything worked correctly for me although I didn’t actually play the game.
I also tried to think of a way to just use a button to paste in the clipboard code. My idea was to touch/click a paste button and then the content of the clipboard (I typed and copied a word into a text editor first) would paste into a text box. I tried pasting to the input box as well. But anyway, when I clicked the paste button it just made the two texts change to zero/0. I don’t know what that means but clearly something wasn’t right.
And the text input object wouldn’t even let me type into it in my laptop browser but did in my phone browser. Which isn’t relevant to you, but anyway.
Here’s what I tried. That’s all for me, bedtime, haha.