Disabled auto focus on toot form when search results are shown. (#2942)
This commit is contained in:
parent
682507bc3c
commit
29d8313b28
3 changed files with 17 additions and 5 deletions
|
@ -22,7 +22,8 @@ const mapStateToProps = state => ({
|
|||
preselectDate: state.getIn(['compose', 'preselectDate']),
|
||||
is_submitting: state.getIn(['compose', 'is_submitting']),
|
||||
is_uploading: state.getIn(['compose', 'is_uploading']),
|
||||
me: state.getIn(['compose', 'me'])
|
||||
me: state.getIn(['compose', 'me']),
|
||||
showSearch: state.getIn(['search', 'submitted']) && !state.getIn(['search', 'hidden'])
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue