fix scroll method in Note field
This commit is contained in:
parent
4ed0c7b85c
commit
949106f067
2 changed files with 2 additions and 2 deletions
|
|
@ -488,7 +488,7 @@
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<textarea id="comment" ng-disabled="home.blockUx" name="comment"
|
<textarea id="comment" ng-disabled="home.blockUx" name="comment"
|
||||||
ng-maxlength="500" ng-model="_comment" ng-focus="home.formFocus('msg')"
|
ng-maxlength="500" ng-model="_comment" ng-focus="home.formFocus('msg')"
|
||||||
ng-blur="home.formFocus(false)"></textarea>
|
ng-blur="home.formFocus(false)" ng-click="home.scrollUp('comment')"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -671,7 +671,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
this.hideAmount = true;
|
this.hideAmount = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.scrollUp('comment');
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$digest();
|
$rootScope.$digest();
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue