angular-elastic icon indicating copy to clipboard operation
angular-elastic copied to clipboard

Problem with two-way binding

Open hyades opened this issue 10 years ago • 1 comments

I am having something like

$http.get(path)
    .success(function(data){
    $scope.data = data;
    $rootScope.$broadcast('elastic:adjust'); // as mentioned in the docs
  });

Here data is modelled to the textarea

But this is an issue as expected. Sometimes the textarea is set to precise length, and sometimes it fills up the entire page (almost 4 times the expected size). Is this something to do with the $digest cycles?

hyades avatar May 19 '15 10:05 hyades

Hi

Did you get any further with this? Be good to see a plunker... And thanks for the contribution :+1:

monospaced avatar Jul 17 '15 15:07 monospaced

Archiving repository.

monospaced avatar Sep 21 '22 12:09 monospaced