Dave Smith
Dave Smith
If this is a 👍 direction wise, my next step will be unit tests and resulting fixes.
I've been thinking about this PR. Instead of defining 1:1 compatbility between drag origin and drop zone should we instead have some kind of whitelist on the draggable to say...
> I like the idea Good to know - thank you. > Maybe no list means compatible with everything? 💯 I agree. That's basically how it has to work to...
> allow Draggables to define which Dropzones they can be dragged into @talldan I went with this approach in the end. The new API is: - Dropzones can optionally choose...
> Should we add/update some documentation? Yes 💯 . Which documentation did you have in mind?
I'm not fully confident in this implementation. Pinging @youknowriad for his opinion on: - whether allowing draggables to define target dropzones is the right inversion of control. - whether using...
One thing I just thought is we need to check this hasn't broken file/image drag and drop behaviour.
This will not be merged in time for 6.2. There are too many changes to how the D&D works under the hood to be safe at this point.
I know @andrewserong has been working on D&D so I'll close this one out now.
@draganescu I'm unsure how to test this to ensure nothing has broken...