pointer-events: none; user-select: none;
Should stop any dragging. If it doesn't, make sure other parts of your code aren't overwriting the user-select and pointer-events properties.
user-select
pointer-events