Skip to content
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

Cannot use learn/mobile on terminal #26

Open
rugk opened this issue May 28, 2020 · 3 comments
Open

Cannot use learn/mobile on terminal #26

rugk opened this issue May 28, 2020 · 3 comments

Comments

@rugk
Copy link

rugk commented May 28, 2020

When I tap on "write help" or one of the example commands to try out, I cannot actualy execute this, because on a mobile device I have no enter key(board).

Firefox Preview
Android 9

@TikhonJelvis
Copy link
Member

Interesting. I just tried that feature on a Android 10 with Chrome and Firefox Beta:'

  • on Chrome, I simply couldn't type any code at all
  • on Firefox the keyboard was a bit buggy, but I was able to type 1 + 2, press enter and see the results

I have no idea why it's behaving so differently on different phones and browsers—seems like it's an issue with the JavaScript terminal library we're using. I don't know how to fix it myself, but I can take a look and see if there are any issues/PRs upstream that might be relevant.

@TikhonJelvis
Copy link
Member

Oh, I'm sorry, looks like I didn't fully understand your issue first time I read it. I went back and tried tapping "help" rather than typing anything and, at least on my phone, it worked on both Firefox and Chrome, bringing up the keyboard each time.

Even if this specific feature works for me, it seems like the current console implementation simply doesn't work consistently on mobile browsers. Maybe the best option (at least for now) would be to hide that section of the site for mobile users...

@rugk
Copy link
Author

rugk commented May 30, 2020

So people cannot learn Haskell on mobile? 🤔 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants