Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix(Select): Update popover position on open
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Sep 22, 2020
1 parent f28457d commit 7322ad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ function Select({
adaptivePositioning: true,
});

const {isOpen, open, close, toggle} = usePopoverState();
const {isOpen, open, close, toggle} = usePopoverState({
onOpen: popover.update,
});

const itemList = useItemList({
id,
Expand Down

0 comments on commit 7322ad9

Please sign in to comment.