Skip to content

Commit

Permalink
Focus on CheckBox (#3822)
Browse files Browse the repository at this point in the history
Added fix for tabbing using physical key
  • Loading branch information
ImmediandoSrl authored Jul 18, 2024
1 parent 1bf72d5 commit f359bfd
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ public boolean onActionItemClicked(ActionMode mode,
Editable spannable = mEditText.getText();
Selection.setSelection(spannable, 0, spannable.length());
}
/*
// Leaving this hack here for posterity. It seems that this manually
// blinking cursor causes the paste menu to disappear
Expand Down Expand Up @@ -1258,7 +1258,7 @@ public void run() {
if (fHasNext && fNext != null) {
Display.getInstance().callSerially(new Runnable() {
public void run() {
final Form f = fNext.getComponentForm();
final Form f = fNext.getComponentForm();
if (f == null) {
return;
}
Expand All @@ -1270,7 +1270,8 @@ public void actionPerformed(ActionEvent evt) {
fNext.startEditingAsync();
}
});

if(EditorInfo.IME_ACTION_NEXT == fActionCode)
fNext.requestFocus();
}
});
}
Expand Down

0 comments on commit f359bfd

Please sign in to comment.