Skip to content

Commit

Permalink
Merge pull request #4662 from thesahindia/thesahindia/ui-ux/currencyS…
Browse files Browse the repository at this point in the history
…election

add autofocus & hoverstyle
  • Loading branch information
thienlnam authored Aug 17, 2021
2 parents 20f8039 + 0b1900d commit d386f42
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/iou/IOUCurrencySelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,12 @@ class IOUCurrencySelection extends Component {

render() {
return (
<ScreenWrapper>
<ScreenWrapper onTransitionEnd={() => {
if (this.textInput) {
this.textInput.focus();
}
}}
>
<KeyboardAvoidingView>
<HeaderWithCloseButton
title={this.props.translate('iOUCurrencySelection.selectCurrency')}
Expand Down Expand Up @@ -190,6 +195,7 @@ class IOUCurrencySelection extends Component {
<OptionRow
key={key}
mode="compact"
hoverStyle={styles.hoveredComponentBG}
option={item}
onSelectRow={() => this.toggleOption(item.currencyCode)}
isSelected={
Expand Down

0 comments on commit d386f42

Please sign in to comment.