Help with snapRelativeToEventStartDate config property
Posted: Wed Jun 12, 2024 11:54 am
by albert.piacka
Hi!
I would like to ask for help with a certain functionality in the scheduler. When I drag an event, it "snaps" to 00:00:00 time, but when I drop it, it snaps to the correct value it already had defined (e.g., 12 AM).
I am not sure if this is a bug or if my configuration is missing something. I think the snapRelativeToEventStartDate property might not be working as intended.
Re: Help with snapRelativeToEventStartDate config property
Posted: Wed Jun 12, 2024 5:04 pm
by mats
What version are you using?
Re: Help with snapRelativeToEventStartDate config property
Posted: Thu Jun 13, 2024 8:40 am
by albert.piacka
Bryntum Scheduler 5.6.9
// edit
Re: Help with snapRelativeToEventStartDate config property
Posted: Thu Jun 13, 2024 9:57 pm
by mats
Does it work if you upgrade to 5.6.12?
Re: Help with snapRelativeToEventStartDate config property
Posted: Fri Jun 14, 2024 10:55 am
by albert.piacka
The drag operation works, but resizing does not (it snaps to 00:00:00).
Also, is there a way to snap a new event to a pre-defined time when creating it by dragging? I use 'onBeforeEventEdit' to adjust the time after the event has been created:
Re: Help with snapRelativeToEventStartDate config property
Posted: Mon Jun 17, 2024 10:02 am
by alex.l
Hi,
Thanks for the info, I've reproduced the problem in our environment. Here is the ticket https://github.com/bryntum/support/issues/9394
You can subscribe on ticket updates to be notified when it's done.
Also, is there a way to snap a new event to a pre-defined time when creating it by dragging?