Skip to content

update textarea height and refocus when attaching files

Simon Knox requested to merge ee-30008-textarea-focus into master

What does this MR do?

Keep focus in textarea when attaching files Don't add 3 newlines after pasting a file in textarea

Are there points in the code the reviewer needs to double check?

  • not 100% where test for this should go. I don't want to keep adding regression tests to, but directly testing the side effects of the click handler doesn't seem so great either. Suggestions?

Screenshots (if relevant)

scroll

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes gitlab-ce#30008

Merge request reports