From 7322ad9cade97a072a3424c24c61fd4aba7ab177 Mon Sep 17 00:00:00 2001 From: DIonysos Dajka Date: Tue, 22 Sep 2020 17:49:26 +0200 Subject: [PATCH] fix(Select): Update popover position on open --- src/Select/Select.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Select/Select.js b/src/Select/Select.js index d50c446a..66b7e45e 100644 --- a/src/Select/Select.js +++ b/src/Select/Select.js @@ -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,