diff --git a/src/views/mobile/transactions/Edit.vue b/src/views/mobile/transactions/Edit.vue index 2156a20c..f3e6aca4 100644 --- a/src/views/mobile/transactions/Edit.vue +++ b/src/views/mobile/transactions/Edit.vue @@ -222,10 +222,11 @@ @@ -661,6 +662,16 @@ export default { } }); }, + changeSize(event) { + const textarea = event.target; + + if (!textarea) { + return; + } + + textarea.scrollTop = 0; + textarea.style.height = textarea.scrollHeight + 'px'; + }, isCategoryIdAvailable(categories, categoryId) { if (!categories || !categories.length) { return false;