search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

how to prevent the daypilot modal from closing when clicked outside?

Asked by Anonymous
8 months ago.

how to prevent the daypilot modal from closing when clicked outside?

Answer posted by Dan Letecky [DayPilot]
8 months ago.

You can do it using onClose event handler:

onClose: args => {
  if (args.backgroundClick) {
    args.preventDefault();
  }
}
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.