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
2 years ago.

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

Answer posted by Dan Letecky [DayPilot]
2 years ago.

You can do it using onClose event handler:

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