Skip to content
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

Pass first supportedAction as the action to exportAsDrag #1683

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

m-sasha
Copy link
Member

@m-sasha m-sasha commented Nov 6, 2024

We currently have the initial transfer action hardcoded to Move, but this doesn't work if Move is not one of the supported actions. This PR passes the first supported action instead.

Fixes https://youtrack.jetbrains.com/issue/CMP-6881

Testing

Tested manually.

Release Notes

Fixes - Desktop

  • Fix drag-and-drop when the list of supported actions doesn't include Move.

@m-sasha m-sasha requested a review from igordmn November 6, 2024 21:07
@m-sasha m-sasha force-pushed the m-sasha/set-initial-dnd-action branch from 41f2858 to cd8d782 Compare November 6, 2024 21:45
@m-sasha m-sasha force-pushed the m-sasha/set-initial-dnd-action branch from cd8d782 to 567b7fd Compare November 7, 2024 10:18
@m-sasha m-sasha requested a review from igordmn November 7, 2024 10:19
@m-sasha m-sasha merged commit 15283a7 into jb-main Nov 7, 2024
7 checks passed
@m-sasha m-sasha deleted the m-sasha/set-initial-dnd-action branch November 7, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants