-
-
Notifications
You must be signed in to change notification settings - Fork 876
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
[Bug] Drag to create events with weekStartsOn Monday #1121
Comments
Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me |
Ah, I see the issue, you need to pass the week start variable to this line in your code: https://github.com/mattlewis92/angular-calendar/blob/master/projects/demos/app/demo-modules/drag-to-create-events/component.ts#L84 like this: |
Hello, |
Describe the bug
The feature to drag to create events didn't work well in the column Sunday when weekStartsOn Monday. It seems the calendar don't recognize the drag but recognize only the click.
Minimal reproduction of the problem with instructions
In the demo https://stackblitz.com/run?embed=1&file=demo/template.html (demo to drag) :
weekStartsOn: number = DAYS_OF_WEEK.MONDAY;
import { DayViewHourSegment, DAYS_OF_WEEK } from 'calendar-utils';
Try to drag on Sunday and Monday. You will see the difference.
Screenshots
Versions
@angular/core
: 8.2.2angular-calendar
: 0.27.20The text was updated successfully, but these errors were encountered: