mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 369 forks source link

Allow the autoScroll container to be specified #578

Closed mattlewis92 closed 7 years ago

mattlewis92 commented 7 years ago

Bug description / Feature request:

Hi, My calendar day view time is divided for 15 min slots and because of that in 24 hours my day view looks very long so i tried giving custom height say 250px now up to this everything is fine, but now I want to move event from top to bottom so I have to scroll to go to bottom time and drop my event there, while scrolling pointer and event seems to lost somewhere. Please find attach plunker for more detail.

To reporduce this issue. http://plnkr.co/edit/aThLNdZjvV2rSRkITC53?p=preview go to Day view and start dragging the event and try to drop @ 10.00 PM you would get to know my problem. Thank you.

Moved from https://github.com/mattlewis92/angular-calendar/issues/184 by @rajkotgire

rajkotgire commented 7 years ago

Hi, I just have checked against the plnkr given in issue description, but it still not working.

mattlewis92 commented 7 years ago

You need to explicitly pass the scroll container to the new draggable-auto-scroll option like so although sadly it doesn't seem to work very well. Sadly I'm not sure what I can do when the issue is with the underlying interactjs library 😞