Selectable icon indicating copy to clipboard operation
Selectable copied to clipboard

Selecting in a calendar

Open developeregrem opened this issue 3 years ago • 0 comments

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

developeregrem avatar May 16 '22 11:05 developeregrem