Scratch-blocks: Blocks become slightly transparent when dragged

Created on 18 May 2017  路  2Comments  路  Source: LLK/scratch-blocks

Expected Behavior

When dragging blocks their visual appearance should not change.

Actual Behavior

As soon as you drag a block (from the toolbox or the workspace) it gets slightly transparent.

Steps to Reproduce

Fire up the vertical playground and drag some blocks around. Notice they are slightly transparent. It is easiest to notice this when dragging over some features... like the toolbox seam or other blocks.

Operating System and Browser

All

Notes

I believe this change came in through the large Blockly update... and it seems Blockly has this behavior, so I do understand it might be intentional... but as Scratch doesn't work like this... nor did scratch-blocks previously, I'm wondering if its a bug or a feature. Maybe ideally this could be a configuration setting.

design question

Most helpful comment

@MichaelZawadzki - Thanks for calling this out.

We noticed this behavior after the recent merge and were a bit caught off guard too. That said we'd like to explore some of the benefits from this adjustment: better visibility when attaching blocks and when copying blocks across sprites (by dragging a stack over a sprite).

We'd like to keep the transparency while dragging for now. We'll keep our eye on this new behavior as we playtest. If it becomes confusing we will return to non-transparent blocks while dragging.

All 2 comments

@carljbowman to confirm expected behaviour.

This is probably just a CSS change.

@MichaelZawadzki - Thanks for calling this out.

We noticed this behavior after the recent merge and were a bit caught off guard too. That said we'd like to explore some of the benefits from this adjustment: better visibility when attaching blocks and when copying blocks across sprites (by dragging a stack over a sprite).

We'd like to keep the transparency while dragging for now. We'll keep our eye on this new behavior as we playtest. If it becomes confusing we will return to non-transparent blocks while dragging.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bfunc picture bfunc  路  5Comments

tmickel picture tmickel  路  3Comments

cwillisf picture cwillisf  路  4Comments

towerofnix picture towerofnix  路  4Comments

towerofnix picture towerofnix  路  5Comments