From 65ea3808f01765e5d145be48b56774abc3683930 Mon Sep 17 00:00:00 2001 From: Eric Olkowski Date: Wed, 21 Jun 2023 13:24:06 -0400 Subject: [PATCH] fix(Slider): reverted taborder --- .../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 f5e48ae0244..a889032e3a3 100644 --- a/packages/react-core/src/components/Slider/Slider.tsx +++ b/packages/react-core/src/components/Slider/Slider.tsx @@ -423,9 +423,6 @@ export const Slider: React.FunctionComponent = ({ {buildSteps()} )} - {isInputVisible && inputPosition === 'aboveThumb' && ( -
{displayInput()}
- )} {hasTooltipOverThumb ? ( {thumbComponent} @@ -433,6 +430,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 66390ad7e0f..1304b11ac45 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 @@ -492,6 +492,17 @@ exports[`slider renders slider with input above thumb 1`] = ` +
@@ -526,17 +537,6 @@ exports[`slider renders slider with input above thumb 1`] = `
-