Hi.
I use this code for program usage of angular-sticky and add resize into events. resize events working, but sticky elemen not rerendered. Only after scroll it fix position:
angular.element($window).bind('scroll resize', function() {
// draw the sticky element through an apply as the event wasn't from Angular
$scope.$apply(function() {
stickyElement.draw();
});
});
Do you have some ideas what wrong?