Allow round
, floor
or ceil
when snapping pointer times in a DayView
#6739
Labels
bug
Something isn't working
forum
Issues from forum
large-account
Reported by large customer
localization
OEM
OEM customer
resolved
Fixed but not yet released (available in the nightly builds)
Milestone
Forum post
Hello,
I had a question concerning adding new events to the calendar in week view. I have increment set to "30 minutes" in week view which works fine but when I click on the bottom half of a timeslot, the calendar seems to assume I want the next 30 minute increment. For example, if I try to schedule an event at 8:30, but click anytime after 8:45, it will assume I want to schedule an event at 9:00 since that interval is closer.
You can see this occur in the demo here: https://www.bryntum.com/products/calendar/examples/basic/, I just had to add this line to the demo:
I was wondering if there was a way to configure the calendar to instead pick the last increment, so that if we for example click anywhere between 8:30 and 9:00, the event will be created at 8:30.
Thanks,
Connor
The text was updated successfully, but these errors were encountered: