diff --git a/src/InputField/__snapshots__/InputField.stories.storyshot b/src/InputField/__snapshots__/InputField.stories.storyshot
index 40a194dc1a..c03b6cf278 100644
--- a/src/InputField/__snapshots__/InputField.stories.storyshot
+++ b/src/InputField/__snapshots__/InputField.stories.storyshot
@@ -99,7 +99,7 @@ exports[`Storyshots InputField Compact input 1`] = `
}
>
@@ -505,7 +505,7 @@ exports[`Storyshots InputField Default input 1`] = `
}
>
@@ -833,7 +833,7 @@ exports[`Storyshots InputField Email input 1`] = `
}
>
@@ -1660,7 +1660,7 @@ exports[`Storyshots InputField Password input 1`] = `
}
>
@@ -2018,7 +2018,7 @@ exports[`Storyshots InputField Playground 1`] = `
}
>
@@ -2896,7 +2896,7 @@ exports[`Storyshots InputField Required field 1`] = `
}
>
@@ -3240,7 +3240,7 @@ exports[`Storyshots InputField Small input 1`] = `
}
>
@@ -3598,7 +3598,7 @@ exports[`Storyshots InputField With ButtonLink suffix 1`] = `
}
>
@@ -3991,7 +3991,7 @@ exports[`Storyshots InputField With Icon prefix 1`] = `
}
>
@@ -4372,7 +4372,7 @@ exports[`Storyshots InputField With ServiceLogo prefix 1`] = `
}
>
@@ -4741,7 +4741,7 @@ exports[`Storyshots InputField With text prefix 1`] = `
}
>
diff --git a/src/InputField/index.js b/src/InputField/index.js
index d192fd3ead..1ffb0ca22a 100644
--- a/src/InputField/index.js
+++ b/src/InputField/index.js
@@ -14,6 +14,7 @@ const Field = styled.label`
font-family: ${({ theme }) => theme.orbit.fontFamily};
position: relative;
display: block;
+ z-index: 2;
`;
Field.defaultProps = {
@@ -25,7 +26,7 @@ export const FakeInput = styled(({ children, className }) => (
))`
width: 100%;
position: absolute;
- z-index: -1;
+ z-index: 1;
box-sizing: border-box;
height: ${({ tokens, size }) => tokens.heightInput[size]};
border-radius: ${({ theme }) => theme.orbit.borderRadiusNormal};
@@ -101,6 +102,7 @@ const Prefix = styled(({ children, className }) =>
{c
pointer-events: none;
justify-content: center;
padding-left: ${({ theme }) => theme.orbit.spaceSmall};
+ z-index: 2;
& > svg {
width: ${({ tokens, size }) => tokens.iconSize[size]};
@@ -120,6 +122,7 @@ const Suffix = styled(({ children, className }) =>
{c
align-items: center;
justify-content: center;
pointer-events: ${({ disabled }) => disabled && "none"};
+ z-index: 2;
& svg {
color: ${({ theme }) => theme.orbit.colorIconSecondary};
@@ -150,6 +153,7 @@ export const Input = styled(({ theme, tokens, size, suffix, error, help, ...prop
height: 100%;
line-height: ${({ tokens, size }) => tokens.heightInput[size]};
border-radius: ${({ theme }) => theme.orbit.borderRadiusNormal};
+ z-index: 2;
&:focus {
outline: none;
diff --git a/src/InputGroup/__snapshots__/InputGroup.stories.storyshot b/src/InputGroup/__snapshots__/InputGroup.stories.storyshot
index 0b737a19ff..1e9ea24266 100644
--- a/src/InputGroup/__snapshots__/InputGroup.stories.storyshot
+++ b/src/InputGroup/__snapshots__/InputGroup.stories.storyshot
@@ -99,7 +99,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
}
>
@@ -147,7 +147,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
className="Select__SelectContainer-hisSov erDdbv"
>
@@ -1161,7 +1161,7 @@ exports[`Storyshots InputGroup Phone number 1`] = `
}
>
@@ -2062,7 +2062,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
}
>
diff --git a/src/InputGroup/index.js b/src/InputGroup/index.js
index f5f175b394..e524643a42 100644
--- a/src/InputGroup/index.js
+++ b/src/InputGroup/index.js
@@ -14,7 +14,7 @@ import type { Props, State } from "./index";
const FakeGroup = styled(({ children, className }) => {children}
)`
width: 100%;
position: absolute;
- z-index: -1;
+ z-index: 1;
box-sizing: border-box;
height: ${({ tokens, size }) => tokens.height[size]};
border-radius: ${({ theme }) => theme.orbit.borderRadiusNormal};
@@ -74,7 +74,8 @@ const StyledInputGroup = styled(({ children, className }) => (
${StyledChild} {
${FakeInput} {
- border: 0;
+ box-shadow: none;
+ background-color: transparent;
display: flex;
align-items: center;
justify-content: flex-end;
@@ -101,6 +102,8 @@ const StyledInputGroup = styled(({ children, className }) => (
error && !active ? theme.orbit.borderColorInputError : theme.orbit.borderColorInput};
transition: background-color ${({ theme }) => theme.orbit.durationFast} ease-in-out;
display: block;
+ z-index: 2;
+
}
&:last-child {
diff --git a/src/Select/__snapshots__/Select.stories.storyshot b/src/Select/__snapshots__/Select.stories.storyshot
index 16d0b3fb1d..19df0904c9 100644
--- a/src/Select/__snapshots__/Select.stories.storyshot
+++ b/src/Select/__snapshots__/Select.stories.storyshot
@@ -103,7 +103,7 @@ exports[`Storyshots Select Default 1`] = `
className="Select__SelectContainer-hisSov erDdbv"
>