Skip to content

Commit cea1410

Browse files
committed
[fix] Refresh eye position on autocomplete.show(). Fixes #21.
1 parent b8e6f56 commit cea1410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ export default function autocomplete (el, options) {
346346
function hidden (li) { return li.className.indexOf('tac-hide') !== -1; }
347347

348348
function show () {
349+
eye.refresh();
349350
if (!visible()) {
350351
container.className += ' tac-show';
351-
eye.refresh();
352352
crossvent.fabricate(attachment, 'autocomplete-show');
353353
}
354354
}

0 commit comments

Comments
 (0)