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`] = `
-