reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
299 stars 118 forks source link

compatibility #69

Closed srudhish closed 2 years ago

srudhish commented 5 years ago

does ngx drag and drop work only with angular material? because i cannot apply styles on it. am using boostrap 4 with angular 7. Give me any complete example to implement ngx drag and drop. I appreciate your efforts and Thank you in advance.

reppners commented 5 years ago

This lib is agnostic of the UI library used. Please provide a more specific description of the problem and if possible provide a stackblitz that reproduces the problem.

srudhish commented 5 years ago

I was trying to apply styles to the element which animates when dragging, but I couldn't. I have seen that you where using material ui to implement this plugin. please take a look into the image I have uploaded here. in that, the red lined part is which i need to customize.

image

reppners commented 4 years ago

I don't think animations work well with HTML5 drag and drop since the browsers are taking a snapshot of the element to use as a drag image when drag starts. This is in no way related to material ui but a general HTML5 drag and drop limitation.

reppners commented 2 years ago

If HTML5 drag and drop issues are a limitation please give https://material.angular.io/cdk/drag-drop/overview a spin!