Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Selecting in a calendar #50

@developeregrem

Description

@developeregrem

Hi,
first of all great work!
Let's assume I have a calendar which displays each month side-by-side.
I have the following config to enable selectable:

const selectable = new Selectable({
        lassoSelect: "sequential",
        appendTo: "#calendar",
        filter: ".day"
});

When I start selecting in one month and move to the second month like in the following image (Start 23.07 End 30.08):
grafik
Please note that the mouse was moved from top left to bottom right (see lasso).
The example above works as expected.
However, when I want to do the following: Start 23.07 End 10.08 (mouse is moved from bottom left to top right now!), it's not selecting any field:
grafik

The expected behaviour should be that everything between 23.07. and 10.08. is selected now.

Therefore I'm wondering how to achieve the behaviour with your selectable?

All the best

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