Skip to content

How to Drag item that spans multiple grid positions? #664

@hgoona

Description

@hgoona

I'm wanting to dnd an object to a gridded snapping environment, where the object may span multiple grids. How could I go about this? I noticed the Scrabble example repl but my scenario might almost be more comparable to the game of Battleships.

My situation is similar, however each tile may be multiple squares wide eg. 1x4 or even 3x5 etc. In this situation I want the drop preview to also reflect this same number of tiles for the preview shadow to be displayed. How to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions