Prevent Onscreen Keyboard Mobile App Coding

Hey Campers!

Most of the time, I use desktop. But occasionally I am on mobile because my desktop doesn’t fit in my pocket. :grin:

Problem is, when you are looking at a challenge and trying to scroll down in the “Code” tab, the pesky Android keyboard keeps popping up making the text area very small and a pain to scroll and see the content. Every touch of the screen and you are now playing Whack-a-Mole. It drives me nuts.

I searched on here and the web. Lots of old articles saying you can disable keyboard. Well apparently on my Samsung S8 Android 9.0, you can’t anymore.

There was also mention of Null Keyboard app, but it seems it’s no longer available in the Play Store. The context of these apps seems to be so you can use an external bluetooth keyboard instead. I haven’t got one of those.

It’d be nice to have a toggle button so that it only pops up when I want it to. I think my old HTC phone had something like that.

What solution do mobile campers use?

Thanks!

Hello~!

If you are using a mobile device, the default keyboard does not always play well with the freeCodeCamp editor. I recommend you read the article on using a mobile device to view some tips - most importantly, check out the coding keyboards listed as they interface with the editor well.

1 Like

@a_aramini When you initially touch the Code tab, the editor opens and focus is automatically placed in the editor, which is why your keyboard is popping up. The solution that works for me is to just touch the Code tab again, which will take the focus out of the editor (and put it on the Code tab). Now you should be able to scroll the code in the editor without the keyboard popping up (as long as you don’t press to hard and accidentally put focus back in the editor again).

1 Like

@bbsmooth That worked! So all I had to do was tap code tab twice lol nice.

@ArielLeslie I’ll look in to trying a coder keyboard as well.

Thanks!