From 6f013e559ef3ce88741d5697732b9c711e793085 Mon Sep 17 00:00:00 2001 From: Dylan Kilgore Date: Wed, 31 Aug 2022 16:20:34 -0700 Subject: [PATCH] fix: select: removes portal property from tooltip and replace with position --- src/components/Select/Select.stories.tsx | 2 +- src/components/Select/Select.tsx | 2 +- .../__snapshots__/Select.stories.storyshot | 80 ++++++++++++++++--- 3 files changed, 72 insertions(+), 12 deletions(-) diff --git a/src/components/Select/Select.stories.tsx b/src/components/Select/Select.stories.tsx index f63c6dc88..70a7bd1c8 100644 --- a/src/components/Select/Select.stories.tsx +++ b/src/components/Select/Select.stories.tsx @@ -108,7 +108,7 @@ export default { } as ComponentMeta; const Wrapper: FC = ({ children }) => { - return
{children}
; + return
{children}
; }; const DynamicSelect: FC = (args) => { diff --git a/src/components/Select/Select.tsx b/src/components/Select/Select.tsx index dc326b78e..1108aea65 100644 --- a/src/components/Select/Select.tsx +++ b/src/components/Select/Select.tsx @@ -293,8 +293,8 @@ export const Select: FC = React.forwardRef( (pillRefs.current[index] = ref)} diff --git a/src/src/components/Select/__snapshots__/Select.stories.storyshot b/src/src/components/Select/__snapshots__/Select.stories.storyshot index e7d91d859..530aecac7 100644 --- a/src/src/components/Select/__snapshots__/Select.stories.storyshot +++ b/src/src/components/Select/__snapshots__/Select.stories.storyshot @@ -1,7 +1,13 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Select Basic 1`] = ` -
+
+
+
+
+
+
+
+
+
+