0
0
Fork 0

Fix caret position after selected suggestion and media upload (#7595)

* Fix media upload reseting caret position to last inserted emoji

* Fix caret position after inserting suggestions (fixes #6089)
This commit is contained in:
ThibG 2018-05-23 15:20:15 +02:00 committed by Eugen Rochko
parent 6d99a0b652
commit d8864b9e9d
3 changed files with 11 additions and 7 deletions

View file

@ -19,6 +19,7 @@ const mapStateToProps = state => ({
spoiler_text: state.getIn(['compose', 'spoiler_text']),
privacy: state.getIn(['compose', 'privacy']),
focusDate: state.getIn(['compose', 'focusDate']),
caretPosition: state.getIn(['compose', 'caretPosition']),
preselectDate: state.getIn(['compose', 'preselectDate']),
is_submitting: state.getIn(['compose', 'is_submitting']),
is_uploading: state.getIn(['compose', 'is_uploading']),