Fix 'focus the compose textarea' shortcut is not working (#29059)
parent
1726085db5
commit
3c315a68af
|
@ -438,7 +438,7 @@ class UI extends PureComponent {
|
||||||
handleHotkeyNew = e => {
|
handleHotkeyNew = e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
const element = this.node.querySelector('.compose-form__autosuggest-wrapper textarea');
|
const element = this.node.querySelector('.autosuggest-textarea__textarea');
|
||||||
|
|
||||||
if (element) {
|
if (element) {
|
||||||
element.focus();
|
element.focus();
|
||||||
|
|
Loading…
Reference in New Issue