We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effb71c commit f5fd6b9Copy full SHA for f5fd6b9
1 file changed
app/javascript/mastodon/features/ui/index.js
@@ -269,6 +269,11 @@ class UI extends React.PureComponent {
269
e.preventDefault();
270
e.stopPropagation();
271
272
+ if (e.relatedTarget === null) {
273
+ this.setState({ draggingOver: false });
274
+ return;
275
+ }
276
+
277
this.dragTargets = this.dragTargets.filter(el => el !== e.target && this.node.contains(el));
278
279
if (this.dragTargets.length > 0) {
0 commit comments