From 8f57ef9e7db84baca993e7888176d1a4ce30f239 Mon Sep 17 00:00:00 2001 From: SerhiiTsybulskyi Date: Fri, 21 Jun 2024 16:08:53 +0300 Subject: [PATCH] add auto update floating position on resize --- src/form/Select/SingleSelect.story.tsx | 2 +- src/utils/Position/usePosition.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/form/Select/SingleSelect.story.tsx b/src/form/Select/SingleSelect.story.tsx index d346cb03..e577a697 100644 --- a/src/form/Select/SingleSelect.story.tsx +++ b/src/form/Select/SingleSelect.story.tsx @@ -196,7 +196,7 @@ export const InvalidValues = () => { export const OptionsArray = () => { const [value, setValue] = useState('github'); return ( -
+