Skip to content

Commit

Permalink
fix: first select cannot pick first item
Browse files Browse the repository at this point in the history
  • Loading branch information
pgbross committed Aug 27, 2020
1 parent 59d1d74 commit 77a625e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/list/list.js
Expand Up @@ -101,7 +101,7 @@ export default {
});

const getListItemIndex = evt => {
if (evt.__itemId) {
if (evt.__itemId !== void 0) {
return listElements.value.findIndex(
({ itemId }) => itemId === evt.__itemId,
);
Expand Down

0 comments on commit 77a625e

Please sign in to comment.