filepond icon indicating copy to clipboard operation
filepond copied to clipboard

FilePond does not load file object in dynamically created iframe

Open dmaus opened this issue 5 years ago • 4 comments
trafficstars

Summary

Drop files does not work when filepond is in a dynamically created iframe.

Aditional bugs:

  • height is not set
  • inseting with var pond = FilePond.create(element); not working

How to reproduce

https://codepen.io/dm1222/pen/vYNXGvp

dmaus avatar Apr 20 '20 08:04 dmaus

Does the iframe have a valid doctype?

rikschennink avatar Apr 20 '20 08:04 rikschennink

I updated the example and added a doctype but no change: https://codepen.io/dm1222/pen/vYNXGvp

dmaus avatar Apr 22 '20 08:04 dmaus

Just tested in Chrome, seems to work correctly?

rikschennink avatar Apr 22 '20 09:04 rikschennink

I get an 404 error when i drop an image file (Chrome, Safari): Screenshot 2020-04-22 at 11 11 05

dmaus avatar Apr 22 '20 09:04 dmaus