Skip to content

Commit

Permalink
Merge pull request Expensify#34563 from ishpaul777/fix/33201
Browse files Browse the repository at this point in the history
fixes the issue "Enter click does not trigger workspace remove members button"
  • Loading branch information
amyevans authored Jan 16, 2024
2 parents 32d5730 + c53c2ed commit f7e815f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/RoomMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ function RoomMembersPage(props) {
canSelectMultiple
sections={[{data, indexOffset: 0, isDisabled: false}]}
textInputLabel={props.translate('optionsSelector.findMember')}
disableKeyboardShortcuts={removeMembersConfirmModalVisible}
textInputValue={searchValue}
onChangeText={setSearchValue}
headerMessage={headerMessage}
Expand Down
1 change: 1 addition & 0 deletions src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ function WorkspaceMembersPage(props) {
SearchInputManager.searchInput = value;
setSearchValue(value);
}}
disableKeyboardShortcuts={removeMembersConfirmModalVisible}
headerMessage={getHeaderMessage()}
headerContent={getHeaderContent()}
onSelectRow={(item) => toggleUser(item.accountID)}
Expand Down

0 comments on commit f7e815f

Please sign in to comment.