Clicking on Main tab brings up the keyboard

Whenever I click on the Main tab in a project the keyboard pops up. Is that a new feature or am I just now noticing it. Usually when I go into the Main tab I’m just scanning through the code and I’d prefer it not be half obscured by the keyboard.

Any thoughts.

1 Like

This is due to Codea trying to remember your selection and where your cursor was when you come back to a tab. But it’s also a bug in that the Main tab always has a selection state even if you haven’t edited within it yet

Perhaps a better way forward would be:

  • If the keyboard is dismissed, and you switch tabs, don’t ever show the keyboard (but scroll to the position of where the cursor last was)
  • If the keyboard is visible and you switch tabs, keep the selection as it was when you last edited

I’ll track this as a bug

Thanks for your reply.

It seems like every tab contents I had previously touched, while in a project, the keyboard pops up. If I just touch the tab title, no problem. If I touch the text to scroll up and down then the keyboard will always pop up even if all I do is just touch the tab title.

So, yes, if it’s a bug I look forward to a fix.

Thanks again for looking into this.

Scotty

@Scotty - never really had a problem with the keyboard issue you’ve raised but it may be worth considering a configurable option for a side scroll bar (tap on bar to raise keyboard), a moveable triple button to scroll up/down and raise/lower the keyboard or default as it is now.

@Bri_G , some kind of a configuration would be helpful. Maybe it’s me, but sometimes I like to compare code between tabs or I’m looking for a specific block of code and getting tried of hiding the keyboard all the time.

Thanks.