Server: Not possible to post multi line comments anymore

Created on 18 Aug 2016  路  5Comments  路  Source: nextcloud/server

Since https://github.com/nextcloud/server/pull/714
Neither Enter nor Shift + Enter work.
Would be nice to get that back @jancborchardt

The design changes look really good btw.

bug design

All 5 comments

Yep I noted that in the issue as well.
Maybe we could just catch CTRL+enter and then convert to a textarea?

Altough that might be great cross browser fun.

It was intentionally changed to single-line comments because it鈥檚 intended to be a quick comment function, not writing a whole bunch of text.

This is odd, apps that use comments for "longer" context now have to use a different style then the server feature?

Right, good point. If you鈥檇 like to change it then a few things would be good:

  • don鈥檛 make it too high, 3 rows maximum
  • use https://github.com/jackmoore/autosize so the input field automatically resizes, and remove the resize handle (like we do in the mail app)
  • have the icon-confirm button float in the bottom right of the textarea like it does now in the input field
  • make Ctrl-Enter submit the comment

Does that sound good?

Sounds good :+1:

Was this page helpful?
0 / 5 - 0 ratings