Results 14 comments of Ecoinomist

I'm getting empty white screen on Chrome, MacOS , for jsfiddle link. https://caniuse.com/createimagebitmap - apparently it's not widely supported yet.

Updated link worked in chrome. Downloaded correct Image. Safari and Firefox didn't download anything, but that's because the jsfiddle itself is not properly configured in these browsers. Updated fiddle to...

Do you have an example of assigning `types` to dndzones? I did not see that in the documentation. I need this config to be declarative, without writing adhoc consider handlers,...

I saw that example, it only has `type` (i.e. a single String). What I'm proposing is an addition to the API of dndzones to have an additional `types` prop that...

Great, will look into it tonight and possibly submit PR. I would keep the `type` as is, because you need that as a single string to identify the draggable node...

perhaps, it may be more explicit to name it `canDropTypes`, instead of just `types`?

it will be backwards compatible, but additional prop is unavoidable for the desired use case. In crazy nesting example, if I set: ``` ``` recursively, then how do I know...

@isaacHagoel, I started writing the code, then realised this will be a major refactoring, because currently the dropTargets filtering logic is tightly coupled to the `typeToDropZones.get(config.type)` logic, which is used...

Yes, you are correct. I believe we had different assumptions of what `type` and `items` mean. Please confirm if I have a correct assumption of how it currently works: -...

an Item always keeps its type, no matter where it is.