You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
@wesleycho looks like this fix would help fix #845 (as well as several other related bugs with ng-show) if you could change one line:
sizeWatch = $scope.$watch(angular.noop, function()
to sizeWatch = $scope.$watch(function()
This way it will try on every $digest until visible (updateIfVisible). Right now, as coded, the $watch never gets triggered again, since the watchExpression never changes (noop). This does fix it for a case we are investigating. Thanks for your consideration.
1 commit comments
kavika-1 commentedon May 20, 2016
@wesleycho looks like this fix would help fix #845 (as well as several other related bugs with ng-show) if you could change one line:
sizeWatch = $scope.$watch(angular.noop, function()
to
sizeWatch = $scope.$watch(function()
This way it will try on every $digest until visible (updateIfVisible). Right now, as coded, the $watch never gets triggered again, since the watchExpression never changes (noop). This does fix it for a case we are investigating. Thanks for your consideration.