Skip to content

Commit 0c99cc0

Browse files
committed
fix: remove unnecessary styling from InputLabel
1 parent 254333f commit 0c99cc0

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
@@ -84,7 +84,6 @@ exports[`call onPress when affix adornment pressed 1`] = `
8484
"translateX": 0,
8585
},
8686
],
87-
"zIndex": 3,
8887
}
8988
}
9089
>
@@ -387,7 +386,6 @@ exports[`correctly applies a component as the text label 1`] = `
387386
},
388387
],
389388
"width": 750,
390-
"zIndex": 3,
391389
}
392390
}
393391
>
@@ -630,7 +628,6 @@ exports[`correctly applies cursorColor prop 1`] = `
630628
},
631629
],
632630
"width": 750,
633-
"zIndex": 3,
634631
}
635632
}
636633
>
@@ -857,7 +854,6 @@ exports[`correctly applies default textAlign based on default RTL 1`] = `
857854
},
858855
],
859856
"width": 750,
860-
"zIndex": 3,
861857
}
862858
}
863859
>
@@ -1077,7 +1073,6 @@ exports[`correctly applies height to multiline Outline TextInput 1`] = `
10771073
},
10781074
],
10791075
"width": 750,
1080-
"zIndex": 3,
10811076
}
10821077
}
10831078
>
@@ -1344,7 +1339,6 @@ exports[`correctly applies paddingLeft from contentStyleProp 1`] = `
13441339
},
13451340
],
13461341
"width": 750,
1347-
"zIndex": 3,
13481342
}
13491343
}
13501344
>
@@ -1573,7 +1567,6 @@ exports[`correctly applies textAlign center 1`] = `
15731567
},
15741568
],
15751569
"width": 750,
1576-
"zIndex": 3,
15771570
}
15781571
}
15791572
>
@@ -1800,7 +1793,6 @@ exports[`correctly renders left-side affix adornment, and right-side icon adornm
18001793
},
18011794
],
18021795
"width": 750,
1803-
"zIndex": 3,
18041796
}
18051797
}
18061798
>
@@ -2229,7 +2221,6 @@ exports[`correctly renders left-side icon adornment, and right-side affix adornm
22292221
},
22302222
],
22312223
"width": 750,
2232-
"zIndex": 3,
22332224
}
22342225
}
22352226
>

0 commit comments

Comments
 (0)