Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Nov 14, 2024
1 parent f79434c commit 0bc9332
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 16.3.1

- Maintain visibility of current option after search

## 16.3.0

- Remove use of `@ember/render-modifiers`
Expand Down
4 changes: 3 additions & 1 deletion addon/components/select-box/index.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ export default class SelectBox extends Component {

@action
handleFocusOut(event) {
console.log(event);

if (
document.activeElement === this.interactiveElement ||
this.element.contains(event.relatedTarget)
Expand Down Expand Up @@ -802,7 +804,7 @@ export default class SelectBox extends Component {
data-busy="{{this.isBusy}}"
data-disabled="{{this.isDisabled}}"
data-open="{{this.isOpenAttr}}"
{{on "focusout" this.handleFocusOut}}
{{on "touchcancel" this.handleFocusOut}}
{{on "mousedown" this.handleMouseDown}}
{{on "mouseup" this.handleMouseUp}}
{{on "mouseleave" this.handleMouseLeave}}
Expand Down

0 comments on commit 0bc9332

Please sign in to comment.