google / blockly

The web-based visual programming editor.
https://developers.google.com/blockly/
Apache License 2.0
12.43k stars 3.71k forks source link

Comments don't raise when clicked #7675

Open NeilFraser opened 10 months ago

NeilFraser commented 10 months ago

Check for duplicates

Description

Clicking on the lower of two comments does not raise it. One has to drag it by a pixel to get the desired visibility.

Applies to BOTH block comments and workspace comments.

This contrasts with the previously expected behaviour of comments as seen here: https://blockly.games/pond-duck

Reproduction steps

  1. Go to the playground.
  2. Create two overlapping comments (either on the workspace or on blocks) Screenshot 2023-12-01 at 20 39 31
  3. Click on the lower one.

Stack trace

No response

Screenshots

No response

Browsers

No response

BeksOmega commented 10 months ago

Not a regression in the latest release.

BeksOmega commented 4 months ago

Still reproducible with new workspace comments.

UCYT5040 commented 2 months ago

Working on this

UCYT5040 commented 2 months ago

Unable to reproduce with block comments. Still reproducible with workspace comments.

Edit: I'm mistaken, this is reproducible with block comments. It only occurs when clicking the outside border of the comment, working as expected when selecting the inside of the comment.

harsh-791 commented 2 months ago

@BeksOmega I would like to work on this