Our powerful JS Calendar component


Post by vitor.camarotto »

Hi,

I was wondering if there's anyway to enable closing the eventEdit modal when clicking outside of it.

...
features: {
      eventEdit: {
        // We like our editor to be modal and centered, not aligned to any event.
        cls: 'eventEditor',
        triggerEvent: 'eventdblclick',
        editorConfig: {
              modal: false,
              centered: true,
              anchor: null
...

Post by tasnim »

For modal please check this https://www.bryntum.com/docs/calendar/api/Core/widget/Popup#config-modal
I saw you have set modal to false then it will work (when it's not a modal)

Good Luck :),
Tasnim


Post by vitor.camarotto »

Thank you so much! Didn't expect such a quick answer :D

closeOnMaskTap : true

This is exactly what I needed. Thanks again.


Post Reply