Is there a particular reason you would like to do this? It's not impossible, but it's finicky and prone to bugs, so it might be easier to just rework your design.
You could try disabling the relevant "touch*" events, (see Event.preventDefault), but that might have some unintended consequences. Many tablet / convertible-style devices (like the Surface) implement these events. Plus, iOS touch-scrolling events are always a pain to work with, since Apple really does not want you messing with page scrolling.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is there a particular reason you would like to do this? It's not impossible, but it's finicky and prone to bugs, so it might be easier to just rework your design.
You could try disabling the relevant "touch*" events, (see Event.preventDefault), but that might have some unintended consequences. Many tablet / convertible-style devices (like the Surface) implement these events. Plus, iOS touch-scrolling events are always a pain to work with, since Apple really does not want you messing with page scrolling.