-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
cannot drag and drop an editor #199403
Comments
Does it help if you wait 1-2s at the location over the desktop before releasing? I have seen macOS sometimes refusing to accept the drop operation if I release the mouse very quickly after dragging. |
Yes, that does work. I think we should maybe not show the drop feedback until 1-2s have elapsed because otherwise it seems like the operation isn't possible? 🤔 |
Unfortunately we are very limited in what we can do, given we rely on native drag and drop. Merging into #198128 |
Actually the real reason this does not work is that you manage to move the mouse back over the main window shortly after releasing the mouse for dropping. Since on macOS there is a brief animation (for invalid drops - which is the case here), we only get the drag-end event when your mouse is already over the main window and then ignore the operation assuming you wanted to drop over the main window. The linked issue is still valid, we need to find a better way how to do this on macOS... |
Testing #199023
Screen.Recording.2023-11-28.at.11.44.27.AM.mov
The text was updated successfully, but these errors were encountered: