When a drag operation ends by opening a context menu, a conflict occurs because both operations require a mouse grab.
The fix is to release the mouse grab earlier, at the end of the drag operation. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8935504: ContextMenu shown after a drag-and-drop gesture sometimes is unresponsive to the mouse Changes: https://git.openjdk.org/jfx/pull/2353/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2353&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8395594 Stats: 7 lines in 3 files changed: 7 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/2353.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2353/head:pull/2353 PR: https://git.openjdk.org/jfx/pull/2353
