Skip to content

Hard to scroll toolbox by dragging on touchscreen #205

@drigz

Description

@drigz

An extremely bad gif of the current behaviour.

If you try to scroll the toolbox by clicking/touching a block and dragging horizontally, it will pluck the block out of the toolbox. This means you have to either use the scrollbar or the margins around the blocks, both of which are hard to hit on a touchscreen.

Based on dragAngleRange_, it seems Blockly has support for scrolling in this case. Any idea why isn't not working for Scratch-Blockly?

It also seems that Blockly only enables it for non-closable flyouts (presumably, when categories are disabled), which seems unhelpful. Any idea why that is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions