Skip to content

Commit

Permalink
Remove setFocusTraversable from SearchField
Browse files Browse the repository at this point in the history
The usage of setFocusTraversable in SearchField.java was unnecessary, thus it has been erased. This change ensures the focus traversable setting is dictated by the default behavior instead.
  • Loading branch information
dlemmermann committed Apr 15, 2024
1 parent aa9ea03 commit aad8d4b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gemsfx/src/main/java/com/dlsc/gemsfx/SearchField.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public SearchField() {
editor.textProperty().bindBidirectional(textProperty());
editor.promptTextProperty().bindBidirectional(promptTextProperty());

setFocusTraversable(false);
setPlaceholder(new Label("No items found"));

focusedProperty().addListener(it -> {
Expand Down

0 comments on commit aad8d4b

Please sign in to comment.