Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag Drop is accepting Bookmarks links and considering them as files #297

Open
kashanghori opened this issue Nov 1, 2023 · 0 comments
Open

Comments

@kashanghori
Copy link

Hi,
I noticed Odd behaviors of drag and drop, I can drag and drop bookmark links from my browser.
image

Expected Behaviour if (droppedFile.fileEntry.isFile) { } should return false as this is not a file and catch this in the else block, but unfortunately it's considering it as a file

{
"fileEntry": {
"isDirectory": false,
"isFile": true
}
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant