angular2-draggable
angular2-draggable copied to clipboard
Issue with ngDraggable boundsCheck() if out of bounds.
After calling boundsCheck, and element is out of bounds, there are issues with dragging the element.
Element x position out of bounds: element cannot be dragged until after clicked once. Element y position out of bounds: element can only be dragged on x axis until clicked once.
Temporary fix by calling ngDraggable.ngAfterViewInit() after ngDraggable.boundsCheck()