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

iPadOS and iOS ‘move cursor with pressed space bar’ does not work #279

Open
remyzandwijk opened this issue Sep 19, 2023 · 4 comments
Open
Labels
bug Something isn't working ui:touch Touchscreen UI issues

Comments

@remyzandwijk
Copy link

Hi,

on iPadOS and iOS there is a feature which allows you to move the cursor in text fields while press and hold the space bar. It makes it very easy to place the cursor exactly where you want.

Unfortunately, it does not work on the Better Go Playground. Would it be possible to implement that feature?

Thanks!
Remy

@x1unix
Copy link
Owner

x1unix commented Sep 19, 2023

@remyzandwijk Better Go playground uses Monaco editor which also powers VSCode.

The problem is that Monaco doesn't play nice with touch devices and was never designed to support them.
I'm working atm to replace Monaco with CodeMirror for touch devices to mitigate the issue but it will take some time (contributions are appreciated).

@x1unix x1unix added the ui:touch Touchscreen UI issues label Sep 19, 2023
@x1unix x1unix added this to Backlog in Better Go Playground via automation Sep 19, 2023
@remyzandwijk
Copy link
Author

Thanks for the explanation @x1unix!

@x1unix x1unix added the bug Something isn't working label Jan 9, 2024
@x1unix
Copy link
Owner

x1unix commented Jan 21, 2024

@remyzandwijk can you try this please and tell me if it works there: https://codemirror.net/try/

This is one of possible alternatives for a current Monaco editor.

@remyzandwijk
Copy link
Author

remyzandwijk commented Jan 21, 2024

@x1unix this works, thanks!

Edit: deleted rather stupid and wrong feedback. I’m having a bad day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui:touch Touchscreen UI issues
Projects
Development

No branches or pull requests

2 participants