From 4fd9bb65cd63ff0d9f135c4c26c53366b6b6a09c Mon Sep 17 00:00:00 2001 From: Eric Olkowski Date: Thu, 20 Oct 2022 14:48:50 -0400 Subject: [PATCH] chore(Slider): revert taborder update --- .../src/components/Slider/Slider.tsx | 6 ++--- .../__snapshots__/Slider.test.tsx.snap | 22 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/react-core/src/components/Slider/Slider.tsx b/packages/react-core/src/components/Slider/Slider.tsx index 1c78edf5335..ff0e97f8787 100644 --- a/packages/react-core/src/components/Slider/Slider.tsx +++ b/packages/react-core/src/components/Slider/Slider.tsx @@ -416,9 +416,6 @@ export const Slider: React.FunctionComponent = ({ {buildSteps()} )} - {isInputVisible && inputPosition === 'aboveThumb' && ( -
{displayInput()}
- )} {hasTooltipOverThumb ? ( {thumbComponent} @@ -426,6 +423,9 @@ export const Slider: React.FunctionComponent = ({ ) : ( thumbComponent )} + {isInputVisible && inputPosition === 'aboveThumb' && ( +
{displayInput()}
+ )} {isInputVisible && inputPosition === 'right' &&
{displayInput()}
} {rightActions &&
{rightActions}
} diff --git a/packages/react-core/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap b/packages/react-core/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap index ee3e42150d9..92bb864cc01 100644 --- a/packages/react-core/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +++ b/packages/react-core/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap @@ -475,6 +475,17 @@ exports[`slider renders slider with input above thumb 1`] = ` +
@@ -498,17 +509,6 @@ exports[`slider renders slider with input above thumb 1`] = `
-