PLT-6282 Make post list stay visible when post textbox height changes (#6323)

* PLT-6282 Changed post drafts to use an action when being stored

* PLT-6282 Triggered post list to update scroll position when post draft changes

* PLT-6282 Changed SuggestionBox to complete suggestions without an event
This commit is contained in:
Harrison Healey
2017-05-23 10:17:06 -04:00
committed by GitHub
parent 52f73c30ca
commit 69f3f2fdce
8 changed files with 87 additions and 56 deletions

View File

@@ -499,3 +499,11 @@ export function performSearch(terms, isMentionSearch, success, error) {
}
);
}
export function storePostDraft(channelId, draft) {
AppDispatcher.handleViewAction({
type: ActionTypes.POST_DRAFT_CHANGED,
channelId,
draft
});
}