Skip to content

Commit 92bbf7d

Browse files
authored
Merge pull request #82 from isnotgood/master
Fixed ignore/blockPointerEvents in View implementation for RN
2 parents 854b41a + a1683f9 commit 92bbf7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/native-common/View.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ export class View extends ViewBase<Types.ViewProps, {}> {
6262
this._internalProps.onLayout = this._onLayout;
6363
}
6464

65-
if (this.props.blockPointerEvents) {
65+
if (props.blockPointerEvents) {
6666
this._internalProps.pointerEvents = 'none';
6767
} else {
68-
if (this.props.ignorePointerEvents) {
68+
if (props.ignorePointerEvents) {
6969
this._internalProps.pointerEvents = 'box-none';
7070
}
7171
}

0 commit comments

Comments
 (0)