Fix RangeError on non-file drag/drop events (#1498)
ConversationView responds to drag/drop events by forwarding them to its file input. The file input stops propagation and handles the event only if the data transfer is type file. This means that any other data type (text, img, etc...) causes an recursive loop of event propagation, eventually resulting in logging a "RangeError: Maximum call stack size exceeded". Fix by only forwarding files to the file input. // FREEBIEpull/749/head
parent
bd78016120
commit
42f2142e36
Loading…
Reference in New Issue