FYI, behavior depends both on IDE and macOS version.
Using 2019R1.1 with Big Sur, if you have more than one drag item the event just silently ends, which gives really bizarre behavior. See Crash an application on NSException - #26 by Mike_D for gory details.