Skip to content

Commit

Permalink
fix auto complete box when blur occure
Browse files Browse the repository at this point in the history
  • Loading branch information
dufoli committed Jul 16, 2024
1 parent 9052c76 commit 18c63e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/data-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ class ScrollTableCell extends React.Component {
if (index === activeSuggestion) {
SuggestionClass = "suggestion-active";
}
return h("li", {className: SuggestionClass, key: suggestion, onClick: this.onSuggestionClick}, suggestion);
return h("li", {className: SuggestionClass, key: suggestion, onMouseDown: this.onSuggestionClick}, suggestion);
})
) : "");
} else {
Expand Down
2 changes: 1 addition & 1 deletion addon/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ class FieldValueCell extends React.Component {
if (index === activeSuggestion) {
SuggestionClass = "suggestion-active";
}
return h("li", {className: SuggestionClass, key: suggestion, onClick: this.onSuggestionClick}, suggestion);
return h("li", {className: SuggestionClass, key: suggestion, onMouseDown: this.onSuggestionClick}, suggestion);
})
) : ""
);
Expand Down

0 comments on commit 18c63e9

Please sign in to comment.