Skip to content

Commit

Permalink
fix(refresh): remain current value of isOpen (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunjae Lee committed Oct 9, 2020
1 parent 263c8d6 commit 637d23e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/autocomplete-core/src/createAutocomplete.ts
Expand Up @@ -58,6 +58,9 @@ export function createAutocomplete<
setIsOpen,
setStatus,
setContext,
nextState: {
isOpen: store.getState().isOpen,
},
refresh,
});
}
Expand Down

0 comments on commit 637d23e

Please sign in to comment.