diff --git a/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java b/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java index 5a04b606e..e0475f79b 100644 --- a/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java +++ b/MessengerProj/src/main/java/com/b44t/ui/DialogsActivity.java @@ -422,10 +422,10 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. listView.setOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrollStateChanged(RecyclerView recyclerView, int newState) { - // due to the setIsSearchField()-HACK, we do not want force keyboard disappering (HACK looks smaller so ;-) - //if (newState == RecyclerView.SCROLL_STATE_DRAGGING && searching && searchWas) { - // AndroidUtilities.hideKeyboard(getParentActivity().getCurrentFocus()); - //} + // if we disable this, the keyboard always lays over the list and the end of the list is never reachable -- was: due to the setIsSearchField()-HACK, we do not want force keyboard disappering (HACK looks smaller so ;-) + if (newState == RecyclerView.SCROLL_STATE_DRAGGING && searching && searchWas) { + AndroidUtilities.hideKeyboard(getParentActivity().getCurrentFocus()); + } } @Override