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

fix: drag cursor being incorrect for flyout blocks #8107

Merged
merged 1 commit into from
May 14, 2024

Conversation

BeksOmega
Copy link
Collaborator

The basics

The details

Resolves

Fixes #8102

Proposed Changes

Makes it so that blocks in the flyout have the blocklyDraggable CSS class, even though they aren't actually draggable. The flyout detects a drag, duplicates the block, and then starts a drag on the new block.

Reason for Changes

Buggy fixing.

Test Coverage

Manually tested and all tests pass.

Documentation

N/A

Additional Information

I'm not 100% sure that we actually want blocks in the flyout to have the blocklyDraggable class since they are draggable but also kind of aren't. But we can deal with that in V12 with the CSS refactor.

@BeksOmega BeksOmega requested a review from a team as a code owner May 14, 2024 16:36
@BeksOmega BeksOmega requested a review from NeilFraser May 14, 2024 16:36
@github-actions github-actions bot added the PR: fix Fixes a bug label May 14, 2024
@BeksOmega BeksOmega merged commit 392a38b into google:develop May 14, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text mouse pointer when over toolbox blocks. Expecting drag mouse pointer.
2 participants