Skip to content
This repository has been archived by the owner on Jun 19, 2018. 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
Closed

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

swapy opened this issue Apr 15, 2016 · 3 comments
Assignees

Comments

@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
Copy link
Owner

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

@mattlewis92
Copy link
Owner

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
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.
Projects
None yet
Development

No branches or pull requests

2 participants