Skip to content

Commit

Permalink
Merge pull request #31176 from tienifr/fix/31101
Browse files Browse the repository at this point in the history
fix: 31101 Eye icon to show password on password protected PDF file is not working
  • Loading branch information
danieldoglas authored Nov 15, 2023
2 parents 8872311 + 8423ebb commit 0151ae3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions patches/react-native-web+0.19.9+004+fix-pointer-events.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/node_modules/react-native-web/dist/exports/StyleSheet/compiler/index.js b/node_modules/react-native-web/dist/exports/StyleSheet/compiler/index.js
index bdcecc2..63f1364 100644
--- a/node_modules/react-native-web/dist/exports/StyleSheet/compiler/index.js
+++ b/node_modules/react-native-web/dist/exports/StyleSheet/compiler/index.js
@@ -353,7 +353,7 @@ function createAtomicRules(identifier, property, value) {
var _block2 = createDeclarationBlock({
pointerEvents: 'none'
});
- rules.push(selector + ">*" + _block2);
+ rules.push(selector + " *" + _block2);
}
} else if (value === 'none' || value === 'box-none') {
finalValue = 'none!important';
@@ -361,7 +361,7 @@ function createAtomicRules(identifier, property, value) {
var _block3 = createDeclarationBlock({
pointerEvents: 'auto'
});
- rules.push(selector + ">*" + _block3);
+ rules.push(selector + " *" + _block3);
}
}
var _block4 = createDeclarationBlock({

0 comments on commit 0151ae3

Please sign in to comment.