In file
there is calculation of event's width
const width = 100 / columnCount
So event(s) will consume whole available space.
While I'm adding events via click on empty space.
So no space (used by another event) - nowhere to click.
Workaround exists:
- Define event initially in another slot, and drag'n'drop where required.
But I would really like to have ability to define "maxUsableWidth" (default 100).
So instead of const width = 100 / columnCount I would like to see there const width = maxUsableWidth/ columnCount
And add support to angular-calendar to pass it through
In file
calendar-utils/src/calendar-utils.ts
Line 646 in b07c733
there is calculation of event's width
const width = 100 / columnCountSo event(s) will consume whole available space.
While I'm adding events via click on empty space.
So no space (used by another event) - nowhere to click.
Workaround exists:
But I would really like to have ability to define "maxUsableWidth" (default 100).
So instead of
const width = 100 / columnCountI would like to see thereconst width = maxUsableWidth/ columnCountAnd add support to angular-calendar to pass it through