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: prevent flyout block highlighting during workspace drag #7720

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

neerajkumarc
Copy link
Contributor

The basics

The details

Resolves

Fixes #1801

Proposed Changes

Fixes issue where flyout blocks were incorrectly highlighted during workspace drag,
by adding a check for the workspace's drag state before triggering block highlighting events.

Reason for Changes

Flyout blocks should not highlight if the workspace is being dragged.

Test Coverage

N/A

Documentation

N/A

Additional Information

N/A

@neerajkumarc neerajkumarc requested a review from a team as a code owner December 16, 2023 08:16
@github-actions github-actions bot added the PR: fix Fixes a bug label Dec 16, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome! It looks like this is your first pull request in Blockly, so here are a couple of tips:

  • You can find tips about contributing to Blockly and how to validate your changes on our developer site.
  • All contributors must sign the Google Contributor License Agreement (CLA). If the google-cla bot leaves a comment on this PR, make sure you follow the instructions.
  • We use conventional commits to make versioning the package easier. Make sure your commit message is in the proper format or learn how to fix it.
  • If any of the other checks on this PR fail, you can click on them to learn why. It might be that your change caused a test failure, or that you need to double-check the style guide.
    Thank you for opening this PR! A member of the Blockly team will review it soon.

@neerajkumarc neerajkumarc force-pushed the fix/flyout-highlight-on-drag branch from d679620 to 504a6c5 Compare December 16, 2023 08:36
@BeksOmega
Copy link
Collaborator

Hiya @neerajkumarc can you coment on #1801 so I can assign you?

Copy link
Collaborator

@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great =) Thank you for the fix @neerajkumarc ! Just going to wait for CI to run then I'll get this merged =)

@BeksOmega BeksOmega merged commit fe0dc86 into google:develop Dec 18, 2023
6 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.

Flyout blocks are highlighted on mouseover when the workspace is being dragged
2 participants