[Glitch] Improvement variable height in single column layout

Port d93b82af87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Takeshi Umeda
2019-06-02 17:05:54 +09:00
committed by ThibG
parent 02d6187894
commit 1329308bc7
7 changed files with 93 additions and 57 deletions

View File

@@ -320,7 +320,7 @@ export default class UI extends React.Component {
handleHotkeyNew = e => {
e.preventDefault();
const element = this.node.querySelector('.composer--textarea textarea');
const element = this.node.querySelector('.compose-form__autosuggest-wrapper textarea');
if (element) {
element.focus();