hide keyboard when filter run and when filter closed

This commit is contained in:
Eric House 2021-02-24 20:15:58 -08:00
parent 5736870357
commit 1c9b94efbc

View file

@ -263,6 +263,9 @@ public class DictBrowseDelegate extends DelegateBase
{ {
m_browseState.m_expanded = nowExpanded; m_browseState.m_expanded = nowExpanded;
setShowConfig(); setShowConfig();
if ( !nowExpanded ) {
hideSoftKeyboard();
}
} }
} ) } )
.setExpanded( m_browseState.m_expanded ); .setExpanded( m_browseState.m_expanded );
@ -467,7 +470,6 @@ public class DictBrowseDelegate extends DelegateBase
@Override @Override
public boolean enterPressed() public boolean enterPressed()
{ {
hideSoftKeyboard();
useButtonClicked(); useButtonClicked();
return true; return true;
} }
@ -645,6 +647,7 @@ public class DictBrowseDelegate extends DelegateBase
if ( !pending ) { if ( !pending ) {
storeBrowseState(); storeBrowseState();
replaceIter( false ); replaceIter( false );
hideSoftKeyboard();
} }
} }