0
votes

Is there any possibility to disable HTML5 Drag & Drop between browsers/windows?

I'm using an Angular2 application with native HTML5 Drag and Drop and want to prevent users from dragging outside the browser-window and preventing to drop in other windows of the draggable object.

1

1 Answers

0
votes

I assume that you are using the material drag and drop added to angular so you can use the element restriction property cdkDragBoundary as discussed in this documentation