fix(profile-note): hide keyboard when edit note box goes away
This commit is contained in:
@@ -959,6 +959,11 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||||||
}, 100);
|
}, 100);
|
||||||
}else if(relationship.note.isEmpty()){
|
}else if(relationship.note.isEmpty()){
|
||||||
hidePrivateNote();
|
hidePrivateNote();
|
||||||
|
noteEdit.clearFocus();
|
||||||
|
noteEdit.postDelayed(()->{
|
||||||
|
InputMethodManager imm=getActivity().getSystemService(InputMethodManager.class);
|
||||||
|
imm.hideSoftInputFromWindow(noteEdit.getWindowToken(), 0);
|
||||||
|
}, 100);
|
||||||
UiUtils.beginLayoutTransition(scrollableContent);
|
UiUtils.beginLayoutTransition(scrollableContent);
|
||||||
}else{
|
}else{
|
||||||
new M3AlertDialogBuilder(getActivity())
|
new M3AlertDialogBuilder(getActivity())
|
||||||
|
|||||||
Reference in New Issue
Block a user