Skip to content
This repository has been archived by the owner. It is now read-only.

Events cannot be dragged to desired time in day view. #320

Closed
swapy opened this Issue Apr 15, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@swapy
Copy link

swapy commented Apr 15, 2016

Hello,
I am working on latest angular-bootstrap-calendar version. I have an event with start time eg: 6:02AM and ends at 6:20AM.
I want to drag it to 6:03AM ,so that it will end at 6:21AM, which is not possible. You can only drag in multiples of last number in minutes.
eg: 6:02 can be dragged to 6:32,6:42 ... and so on but not 6:03,6:04...

I have created a plunkr , please try on it.
http://plnkr.co/edit/FZhdeIzwT3P37FCwOE3F?p=preview

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Apr 19, 2016

This is easy enough to implement, it's currently hard set to 30px but can easily be overridden with a variable here

@mattlewis92 mattlewis92 self-assigned this Apr 29, 2016

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented May 13, 2016

Hi sorry about the late reply on this, I've been super busy with angular2 projects lately. I've just released 0.20.0 which will allow you to set day-view-event-chunk-size to limit the granularity of event drags and resizes e.g. day-view-event-chunk-size="1" will let you drag and resize events down to the individual minute level. Let me know if you have any issues with it! 😄

@swapy

This comment has been minimized.

Copy link
Author

swapy commented May 14, 2016

Thanks! Sure ill try it out and let you know!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.