Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the Calendar Event resize, drag events like resizeStart, resizeEnd, dragStart, dragEnd at the mwl-calendar-day-view / mwl-calendar-week-view level #1756

Open
p-brosnan opened this issue Dec 23, 2024 · 1 comment

Comments

@p-brosnan
Copy link

p-brosnan commented Dec 23, 2024

Is your feature request related to a problem? Please describe

Thank You so much for such a wonderful library. Please could you consider below or let me know if possible in some other way?

Is it possible to expose the Calendar Event resize, drag events like resizeStart, resizeEnd, dragStart, dragEnd at the mwl-calendar-day-view / mwl-calendar-week-view level?

This would help in a situation where custom hour segment templates are used with some dynamic content set during the beforeViewRender.

Currently the problem is while dragging and resizing, hour segment text becomes blank because markForCheck is called during these events internally and data stored in segment is not available until next beforeViewRender.

If Calendar Event resize, drag events like resizeStart, resizeEnd, dragStart, dragEnd are exposed, the segments can be processed again to set the content as part of these event handlers.

Describe the solution you'd like

Describe your use case for implementing this feature

Additional context

@matts-bot
Copy link

matts-bot bot commented Dec 23, 2024

Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant