parent
4fdbb159fe
commit
0f85ed243c
2 changed files with 2 additions and 2 deletions
|
@ -230,7 +230,7 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
};
|
||||
|
||||
handleExpirationPick = (data) => {
|
||||
const position = this.autosuggestTextarea.textarea.selectionStart;
|
||||
const position = this.textareaRef.current.selectionStart;
|
||||
|
||||
this.props.onPickExpiration(position, data);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue