reactjsdragreact-big-calendar

Disable drag selection on react-big-calendar


I don't see anything in API for disabling this behavior.

I just want users to have to click on a specific date.


Solution

  • use the prop onSelecting. For example: onSelecting = {slot => false}