Skip to content

use-multiple selection and dragging inside multiple selection but white area #308

Open
@brauliodiez

Description

@brauliodiez

src/pods/canvas/use-multiple-selection-shape.hook.tsx

// There's a bug here: if you make a multiple selectin and start dragging
// inside the selection but on a blank area it won't drag the selection
// it will just clear the selection
//
// What do we need to do here?
//
// We could get the selection transformer current coords and size
// - if the mouseDown event is click inside that rectangle abort the multiple selection by dragging
// - We can set a temporary flag here
// - When user moves check the flag
// - When user mouse up then reset the flag to false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs definition

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions