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
1 month ago.

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

Answer posted by Dan Letecky [DayPilot]
1 month ago.

You can do it using onClose event handler:

onClose: args => {
  if (args.backgroundClick) {
    args.preventDefault();
  }
}
New Reply
This reply is
Your name (optional):