When developing the Pepper Robo app, I would like to disable the long press copy and character selection when displaying the screen on the tablet. What should I do?
I don't want to disable the touch because I also place text input parts and buttons on the same screen.
I want to keep touch enabled and disable only long press.
Please tell me how.
By filling in the CSS below, I was able to disable long-press character selection while keeping the touch of the button enabled.
body{
- webkit-user-select: none;
}
© 2024 OneMinuteCode. All rights reserved.