tuwien-csd / damap-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global: Fix textarea-wrapper expansion bug

ValentinFutterer opened this issue · comments

Describe the bug
The textarea can be expanded, but the popup with template text does not follow the expansion. Additionally, if a template text is clicked on, the whole text in the text area is overwritten. This can be undesired, since large amounts of text could be lost by accident. Change it so that the template text gets appended, in order to prevent users from losing progress.

image

Is this a regression?
No.

To Reproduce
Step 4 has a textarea-wrapper with template text.

Expected behavior
The popup should follow the expansion of the textfield; the text should not be overwritten by choosing a template text.

Environment

  • Browser [e.g. firefox, chrome]
  • Damap version 3.0.2