Fix keyboard search when left pane is narrow
This PR fixes Cmd+f/Ctrl+f functionality in the left pane. Using a keyboard to search across all conversations should now automatically change the left pane width to accommodate the search input component. Resolves: #6281
This commit is contained in:
parent
3d735acdec
commit
0100866d0a
7 changed files with 99 additions and 23 deletions
|
@ -16,7 +16,7 @@ import { isDone as isRegistrationDone } from '../../util/registration';
|
|||
|
||||
import { ComposerStep, OneTimeModalState } from '../ducks/conversationsEnums';
|
||||
import {
|
||||
getIsSearchingInAConversation,
|
||||
getIsSearching,
|
||||
getQuery,
|
||||
getSearchConversation,
|
||||
getSearchResults,
|
||||
|
@ -152,7 +152,7 @@ const getModeSpecificProps = (
|
|||
}
|
||||
return {
|
||||
mode: LeftPaneMode.Inbox,
|
||||
isAboutToSearchInAConversation: getIsSearchingInAConversation(state),
|
||||
isAboutToSearch: getIsSearching(state),
|
||||
searchConversation: getSearchConversation(state),
|
||||
searchDisabled: state.network.challengeStatus !== 'idle',
|
||||
searchTerm: getQuery(state),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue