Merge pull request #10909 from osmandapp/fix_autofocus_note_text_input
Show keyboard after open OSM Note
This commit is contained in:
commit
021ff51533
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ public class BugBottomSheetDialog extends MenuBottomSheetDialogFragment {
|
|||
textBox.setDefaultHintTextColor(colorStateList);
|
||||
noteText = osmNoteView.findViewById(R.id.name_edit_text);
|
||||
noteText.setText(text);
|
||||
if (noteText.requestFocus()) {
|
||||
AndroidUtils.showSoftKeyboard(getActivity(), noteText);
|
||||
}
|
||||
|
||||
BaseBottomSheetItem editOsmNote = new BaseBottomSheetItem.Builder()
|
||||
.setCustomView(osmNoteView)
|
||||
|
|
Loading…
Reference in a new issue