Closed bertrandg closed 3 years ago
I got this bug when importing a folder using function webkitReadDataTransfer() (& readDirectory()).
webkitReadDataTransfer()
readDirectory()
Here are the details, I drop the following all folder:
all
Then, like you see in screenshot, all files inside a folder got same fullPath property:
fullPath
I found the error comes from there:
https://github.com/flowjs/flow.js/blob/218b2bf76d840a4eb0013e3db2a0ff764d93eab7/src/Flow.js#L257
That could be easily fix, I will make a merge request later this week if you are ok with it.
yes, feel free to submit it. Have you checked v2? Does it handle it ok?
Fix merged for v3.
And v2 handles it ok:
That's great! Thanks for double checking it
I got this bug when importing a folder using function
webkitReadDataTransfer()
(&readDirectory()
).Here are the details, I drop the following
all
folder:Then, like you see in screenshot, all files inside a folder got same
fullPath
property:I found the error comes from there:
https://github.com/flowjs/flow.js/blob/218b2bf76d840a4eb0013e3db2a0ff764d93eab7/src/Flow.js#L257
That could be easily fix, I will make a merge request later this week if you are ok with it.