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

Disable "long touch to select" on mobile #45

Open
pobch opened this issue Dec 4, 2022 · 0 comments
Open

Disable "long touch to select" on mobile #45

pobch opened this issue Dec 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pobch
Copy link
Owner

pobch commented Dec 4, 2022

Steps to reproduce

  1. Open the website on mobile
  2. Press long touch anywhere in the canvas
  3. BUG: the whole page will be selected/hi-lighted (similar to selecting the text)

Possible solution

body {
  user-select: none;
}
textarea, input {
  user-select: revert;
}
@pobch pobch added the bug Something isn't working label Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant