Fixed #11574
This commit is contained in:
@@ -51,7 +51,8 @@ public class BaseDialog extends Dialog{
|
||||
|
||||
protected void onResize(Runnable run){
|
||||
Events.on(ResizeEvent.class, event -> {
|
||||
if(isShown() && Core.scene.getDialog() == this){
|
||||
//ignore resize events while the Android text input dialog is shown - this does lead to buggy layout when rotated, but it's better than clearing the text. I don't know of a better solution to the problem
|
||||
if(isShown() && Core.scene.getDialog() == this && !Core.input.isShowingTextInput()){
|
||||
run.run();
|
||||
updateScrollFocus();
|
||||
}
|
||||
|
||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=9026252e4d
|
||||
archash=e1ae1436f2
|
||||
|
||||
Reference in New Issue
Block a user