Open jlainezs opened 5 years ago
Yes, clicking on a date is considered as selecting a range. If you don't want the both events to be triggered, you can use only the selectRange event, or in the selectRange event listener, check if the startDate and endDate are similar and do nothing in this case.
selectRange event is fired when a day is clicked, so you got two events in one click:
How to solve this? I expect to got the selectRange event only when more than one day is selected, not when one day is clicked. Thanks!