1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00

[WO-659] fix scrolling to the top of the writer textarea

This commit is contained in:
Tankred Hase 2014-10-23 13:11:37 +02:00
parent cce81337c3
commit f938b3b83c

View File

@ -460,6 +460,7 @@ ngModule.directive('focusMe', function($timeout, $parse) {
if (el.type === 'textarea') {
el.selectionStart = 0;
el.selectionEnd = 0;
el.scrollTop = 0;
}
}, 100);
}