We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 77cc9d4 + c44c5fe commit 84ee97dCopy full SHA for 84ee97d
src/index.js
@@ -532,6 +532,12 @@ export default class RNPickerSelect extends PureComponent {
532
onValueChange={this.onValueChange}
533
selectedValue={selectedItem.value}
534
{...pickerProps}
535
+ onFocus={() => {
536
+ Keyboard.dismiss();
537
+ if (pickerProps.onFocus) {
538
+ pickerProps.onFocus();
539
+ }
540
+ }}
541
>
542
{this.renderPickerItems()}
543
</Picker>
@@ -557,6 +563,12 @@ export default class RNPickerSelect extends PureComponent {
557
563
558
564
559
565
566
567
568
569
570
571
560
572
561
573
562
574
0 commit comments