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

Dragged block doesn't get focus first #7411

Closed
1 task done
clementcontet opened this issue Aug 19, 2023 · 2 comments
Closed
1 task done

Dragged block doesn't get focus first #7411

clementcontet opened this issue Aug 19, 2023 · 2 comments
Assignees
Labels
issue: bug Describes why the code or behaviour is wrong

Comments

@clementcontet
Copy link
Contributor

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

When we drag a block, it doesn't get the browser focus first, and thus can be in background, hidden by other blocks.

Reproduction steps

  1. Get a workspace with two blocks
  2. Select (click on) first block so that it gets focus and send the second one to background
  3. Drag the second block (without selecting it first) and move it near the first block
  4. The second block, while dragged, is displayed behind the first one

Stack trace

No response

Screenshots

Tested right now on https://developers.google.com/blockly:
https://github.com/google/blockly/assets/7261426/7242614b-1115-4736-9437-34400f167599

Browsers

Chrome desktop

@clementcontet clementcontet added issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member labels Aug 19, 2023
@BeksOmega
Copy link
Collaborator

I think we forgot to reroll #6874

@BeksOmega BeksOmega self-assigned this Aug 21, 2023
@BeksOmega
Copy link
Collaborator

Fixed by #6874

@cpcallen cpcallen removed the issue: triage Issues awaiting triage by a Blockly team member label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

3 participants