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

Allow round, floor or ceil when snapping pointer times in a DayView #6739

Closed
ExtAnimal opened this issue May 9, 2023 · 0 comments
Closed
Assignees
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

Comments

@ExtAnimal
Copy link

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:

autoCreate: { step: "30 minutes" }

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

@ExtAnimal ExtAnimal added bug Something isn't working in progress forum Issues from forum large-account Reported by large customer OEM OEM customer labels May 9, 2023
@ExtAnimal ExtAnimal added this to the 5.3.5 milestone May 9, 2023
@ExtAnimal ExtAnimal self-assigned this May 9, 2023
@ExtAnimal ExtAnimal added ready for review Issue is fixed, the pull request is being reviewed and removed in progress labels May 9, 2023
@ExtAnimal ExtAnimal modified the milestones: 5.3.5, 5.3.6 May 10, 2023
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

3 participants