Skip to content

Disabled element completly not interactible #197

@JoseCoelho25

Description

@JoseCoelho25

So i had an issue when draggin an item from a board to another, i configured some boards to open a modal so the user can input information. The issue was with the boards that become disabled if its part of the dragTo exceptions, althought the item never moves to the board, the modal would still pop up and open.

So i added this to the css class to make the board completly non interactible:
.kanban-board.disabled-board {
/* disable html element that cannot be dragged to */
pointer-events: none;
opacity: 0.3;
}

Just wanted to share in case someone has a similar problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions