vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flexibleSlotTimeLimits ignores background events

mrvnklm opened this issue · comments

not sure if this might be on purpose, but flexibleSlotTimeLimits: true ignores background events, so they disappear when there is no event after or before them

Yes, this is expected behavior in the current version. Background events are not taken into account. For example, in the main consumer of the library (Bookly plugin), background events indicate non-working time and it would be strange for it to affect anything.

Would you be fine with merging, if I add an option flag which would allow background events to limit the view?

The ability to consider background events was added in version 1.3.0. See new settings for flexibleSlotTimeLimits.

Thanks a lot for adding this and for maintaining that package so well!