'fullcalendar selectMinDistance not respecting distance when unselecting
I am using fullcalndar selectMinDistance
example init:
I think this works by pixels ratio. I've set this to selectMinDistance: 155
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
selectable: true,
eventOverlap: true,
selectOverlap: true,
validRange: {
start: year + '-05-20',
end: year + '-11-15'
},
selectMinDistance: 155,
...
It works great because i want a minimum of 3 days selected. However, when the user selects, then decides on that same mouse down to unselect, he can then unselect and bring it down to one day. Kind of defeats the purpose.
Does anyone know if there is something in FullCal to prevent this from happening or a good fix? I have not found anything in the docs that can help me...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
