Skip to content

Commit c0a06e7

Browse files
committed
Disable soft keyboard on the number picker
1 parent 7487576 commit c0a06e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/fr/bamlab/reactnativenumberpickerdialog/RNNumberPickerDialogModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public void show(final ReadableMap options, final Callback onSuccess, final Call
5252
}
5353
picker.setDisplayedValues(displayedValues);
5454
picker.setWrapSelectorWheel(false);
55+
picker.setDescendantFocusability(NumberPicker.FOCUS_BLOCK_DESCENDANTS);
5556

5657
new AlertDialog.Builder(getCurrentActivity())
5758
.setTitle(options.getString("title"))

0 commit comments

Comments
 (0)