Skip to content

Commit c7b74e0

Browse files
committed
fix: remove unnecessary styling from InputLabel
1 parent 68ad214 commit c7b74e0

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/components/TextInput/Label/InputLabel.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ const InputLabel = (props: InputLabelProps) => {
144144
pointerEvents="none"
145145
style={[
146146
StyleSheet.absoluteFill,
147-
styles.labelContainer,
148147
Platform.OS !== 'web' && { width },
149148
{ opacity },
150149
labelTranslationX,

src/components/__tests__/__snapshots__/TextInput.test.tsx.snap

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ exports[`call onPress when affix adornment pressed 1`] = `
8585
},
8686
],
8787
"width": 750,
88-
"zIndex": 3,
8988
}
9089
}
9190
>
@@ -384,7 +383,6 @@ exports[`correctly applies a component as the text label 1`] = `
384383
},
385384
],
386385
"width": 750,
387-
"zIndex": 3,
388386
}
389387
}
390388
>
@@ -627,7 +625,6 @@ exports[`correctly applies cursorColor prop 1`] = `
627625
},
628626
],
629627
"width": 750,
630-
"zIndex": 3,
631628
}
632629
}
633630
>
@@ -854,7 +851,6 @@ exports[`correctly applies default textAlign based on default RTL 1`] = `
854851
},
855852
],
856853
"width": 750,
857-
"zIndex": 3,
858854
}
859855
}
860856
>
@@ -1074,7 +1070,6 @@ exports[`correctly applies height to multiline Outline TextInput 1`] = `
10741070
},
10751071
],
10761072
"width": 750,
1077-
"zIndex": 3,
10781073
}
10791074
}
10801075
>
@@ -1341,7 +1336,6 @@ exports[`correctly applies paddingLeft from contentStyleProp 1`] = `
13411336
},
13421337
],
13431338
"width": 750,
1344-
"zIndex": 3,
13451339
}
13461340
}
13471341
>
@@ -1570,7 +1564,6 @@ exports[`correctly applies textAlign center 1`] = `
15701564
},
15711565
],
15721566
"width": 750,
1573-
"zIndex": 3,
15741567
}
15751568
}
15761569
>
@@ -1797,7 +1790,6 @@ exports[`correctly renders left-side affix adornment, and right-side icon adornm
17971790
},
17981791
],
17991792
"width": 750,
1800-
"zIndex": 3,
18011793
}
18021794
}
18031795
>
@@ -2226,7 +2218,6 @@ exports[`correctly renders left-side icon adornment, and right-side affix adornm
22262218
},
22272219
],
22282220
"width": 750,
2229-
"zIndex": 3,
22302221
}
22312222
}
22322223
>

0 commit comments

Comments
 (0)