Hello!
I've been using this awesome lib for a few time now, and I found a bug when the FilePond elements are inside a component (from AngularJS, I think that this happens because of a shadow root created for this dialog).
Turns out that the element returned by the function getRootNode (here) doesn't have an implementation of elementFromPoint used here and the drag and drop functionality simply no longer work :(
I've tried a few things and changing the getRootNode function to always return the document element resolved my problem, but I don't know if this is going to be the actual fix for every case.
My console log:
TypeError: root.elementFromPoint is not a function
It'll look for the first shadow root, it does that because I'm working on a Web Component as well. Will look into this.
Just published version 1.8.1, should be fixed, haven't been able to test it though. Can you confirm if it is fixed?
Just upgraded to 1.8.1 and everything seems to work perfectly.
Thanks!!!
Fantastic, thanks for confirming @johnnyasantoss