Skip to content

Commit bc26dfc

Browse files
committed
move pointer events to props
1 parent ca44dfb commit bc26dfc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/ExpensiTextInput/BaseExpensiTextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class BaseExpensiTextInput extends Component {
176176
<>
177177
{/* Adding this background to the label only for multiline text input,
178178
to prevent text overlapping with label when scrolling */}
179-
{this.props.multiline && <View style={styles.expensiTextInputLabelBackground} />}
179+
{this.props.multiline && <View style={styles.expensiTextInputLabelBackground} pointerEvents="none" />}
180180
<ExpensiTextInputLabel
181181
label={this.props.label}
182182
labelTranslateX={

src/styles/styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ const styles = {
613613
backgroundColor: themeColors.componentBG,
614614
borderTopRightRadius: variables.componentBorderRadiusNormal,
615615
borderTopLeftRadius: variables.componentBorderRadiusNormal,
616-
pointerEvents: 'none',
617616
},
618617

619618
expensiTextInputLabelDesktop: {

0 commit comments

Comments
 (0)