-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31176 from tienifr/fix/31101
fix: 31101 Eye icon to show password on password protected PDF file is not working
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
patches/react-native-web+0.19.9+004+fix-pointer-events.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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({ |