Skip to content

Commit

Permalink
add autofocus & hoverstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
thesahindia committed Aug 14, 2021
1 parent 8b10c1c commit 0b1900d
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 0b1900d

Please sign in to comment.