mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-26 11:16:29 +00:00
Fix focus for text field
This commit is contained in:
@@ -39,7 +39,7 @@ public class LazyTextFieldComp extends Comp<LazyTextFieldComp.Structure> {
|
||||
}
|
||||
|
||||
if (ke.getCode().equals(KeyCode.ENTER) || ke.getCode().equals(KeyCode.ESCAPE)) {
|
||||
r.getScene().getRoot().requestFocus();
|
||||
r.getParent().getParent().requestFocus();
|
||||
}
|
||||
|
||||
ke.consume();
|
||||
|
||||
Reference in New Issue
Block a user