How to disable drag on webpage


#1

I’d like to disable dragging on the web version of the app so that it behaves more like a website. For example, if you try to click and drag a webpage, you will just end up highlighting information. I would like this feature to be available.

I’ve tried adding drag-content=“false” to ion-content but that doesn’t do anything.


#2

If you are trying to disable selection of text with the mouse you can try the answer here:

It’s basically setting the style of your container to user-select:none