question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot upload video via drag-and-drop

See original GitHub issue

Describe the bug

I’m not able to upload a video file via drag-and-drop. (Is there another way to upload files?)

In the Chrome inspector console, I see this error:

Uncaught TypeError: Cannot read properties of null (reading 'isFile')
    at r (client-3d613ef46cdd2da4801cb.js:2)
    at Array.map (<anonymous>)
    at Object.drop (client-3d613ef46cdd2da4801cb.js:2)
    at e.value (client-3d613ef46cdd2da4801cb.js:2)
    at R (client-3d613ef46cdd2da4801cb.js:2)
    at client-3d613ef46cdd2da4801cb.js:2
    at Array.forEach (<anonymous>)
    at e.<anonymous> (client-3d613ef46cdd2da4801cb.js:2)
    at Object.keys.reduce.r.<computed> [as drop] (client-3d613ef46cdd2da4801cb.js:2)
    at handleTopDrop (client-3d613ef46cdd2da4801cb.js:2)

Link to the blitz that caused the error

https://stackblitz.com/edit/node-qs2y3a

Steps to reproduce

Drag an MP4 video file into the files pane.

Expected behavior

A video is added to the project

Screenshots

No response

Platform

Browser name  = Chrome 
Full version  = 96.0.4664.9
Major version = 96
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; CrOS x86_64 14268.5.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.9 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 60078179,
  "usedJSHeapSize": 56774291,
  "jsHeapSizeLimit": 2020868096
}
Hash = c39325dd3d976e6d2170e0078ef1d9bb3de015b9

Additional context

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
FossPrimecommented, Mar 4, 2022

I highly suspect this is the same issue I’m having with all files on ChromeOS, I’m uploading from the Downloads folder in my main storage. Same problem from an SD card.

https://github.com/stackblitz/core/issues/1762

0reactions
github-actions[bot]commented, Mar 11, 2022

A minimal context is required to triage your issue.

Please open a new issue using one of our templates available here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uploading files via Drag and Drop doesn't work
Steps to reproduce: Go to any website that allows you to upload files by dragging them from Finder Drag an image (or file/s)...
Read more >
Cannot upload video via drag-and-drop · Issue #1780 - GitHub
I'm not able to upload a video file via drag-and-drop. (Is there another way to upload files?) In the Chrome inspector console, I...
Read more >
The Biggest Problem With Drag And Drop File Upload, And ...
The steps address two major problems. Firstly, there are problems with dragging and then there are problems with dropping file uploads.
Read more >
How to Drag And Drop a Video File That You Want to Upload ...
In this video I'll show you how you can use your Windows 10 PC to drag-and-drop a video file that you want to...
Read more >
cannot drag and drop video files - Apple Community
Im trying to drag and drop video files of around 300mb from Photos (in Sierra) into either an sdcard or a separate folder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found