I have done the drag and drop directory upload support. It's working fine in Edge and Firefox browsers. But it's not working in chrome browser, due to not execute the codes which are present inside the readEntries method (see below code snippet).
if (item.isDirectory) {
var _this = this;
var directoryReader = item.createReader();
directoryReader.readEntries(function (entries) {
entries.forEach(function (entry) {
_this.traverseFileTree(entry);
});
_this.traverseFileTree(true);
_this.folderFiles = [];
});
}
Anyone, please guide me why this codes not working in chrome alone and how to run those codes in chrome.?