No Return – Facebook & StackExchange ‘break’ textarea expected behaviour

tl;dr Comments in Facebook and StackExchange sites now make enter submit the comment rather than enter a carriage return. In Facebook using shift-enter will force a carriage return. In StackExchange this will still be ignored as carriage returns aren’t rendered. Read on for full analysis of why these changes have been made and follow-on implications. So what’s the problem? Facebook and the StackExchange (SE) family of Q&A sites have both recently ‘broken’ the expected behaviour when typing in a textarea (a multi-line textbox). A notable feature of both sites is users commenting on questions or posts, entering their thoughts in Read More