TryAPL
TryAPL copied to clipboard
Provide GO button on mobile
When hiding the single-line input field, replace it with a purple ▷ in the lower right, for mobiles without Enter
Hi @abrudz, Do you have any suggestions as to where the button should be on the screen?
Edit: Do you think adding a floating purple button on the bottom right corner is a good choice?
I don't see any better options, but why do we hide the single-line input field on mobile?
why do we hide the single-line input field on mobile?
That is true, I think the single line input field could also solve the issue.
From what I could find, it is intentionally hidden on mobile devices. It was done in the initial git (GitHub) commit. Do we have any old git or svn history to find more information on why it was done?
https://github.com/Dyalog/TryAPL/blob/7cc020a7b5a98306027634af8bf2d1a0a68482d4/style.css#L27-L31
There was private history before then. @rikedyp might remember why we did this, but at this point, I think we can just always show it.
I think I found out why it was intentionally hidden:
So it looks like this when I test on my PC browser emulating a phone (All good):
But it looks like this default on the phone (single line bar is hidden behind the bottom menu bar):
But if I zoom out and the browser enables a (kind of) full-screen mode it looks like this (All good):
Ah yes, I remember now. The mobile browser will hide the bottom of the screen with a keyboard. We really should implement on-screen keyboard ourselves…
Ah okay! I will try to get it to be visible or add the circle floating run button as we discussed above.