Skip to content

Commit

Permalink
Fix search feature unresponsive after setting an empty list (#321)
Browse files Browse the repository at this point in the history
Fixed an issue that  caused the search feature to become unresponsive after setting an empty options  list.
  • Loading branch information
gnbm committed Apr 4, 2024
1 parent 8992b9e commit fbc0d72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/virtual-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2401,6 +2401,7 @@ export class VirtualSelect {
DomUtils.setAttr($ele, 'disabled', '');
this.$noOptions.focus();
} else {
$ele.removeAttribute('disabled');
$ele.focus();
}
} else {
Expand Down

0 comments on commit fbc0d72

Please sign in to comment.