react-native-webview-bootpay 11.22.81 → 11.22.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apple/BPCWebView.m +3 -3
- package/package.json +2 -2
package/apple/BPCWebView.m
CHANGED
|
@@ -53,9 +53,9 @@ NSString *const CUSTOM_SELECTOR = @"_CUSTOM_SELECTOR_";
|
|
|
53
53
|
@end
|
|
54
54
|
@implementation BPCWKWebView
|
|
55
55
|
- (void)scrollWheel:(NSEvent *)theEvent {
|
|
56
|
-
BPCWebView *
|
|
57
|
-
RCTAssert([
|
|
58
|
-
if (![
|
|
56
|
+
BPCWebView *bpcWebView = (BPCWebView *)[self superview];
|
|
57
|
+
RCTAssert([bpcWebView isKindOfClass:[bpcWebView class]], @"superview must be an BPCWebView");
|
|
58
|
+
if (![bpcWebView scrollEnabled]) {
|
|
59
59
|
[[self nextResponder] scrollWheel:theEvent];
|
|
60
60
|
return;
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "react-native-webview-bootpay",
|
|
3
3
|
"description": "React Native WebView 를 포크떠서 만든 Bootpay WebViewfor iOS, Android, macOS, and Windows",
|
|
4
4
|
"main": "index.js",
|
|
5
|
-
"main-internal": "
|
|
5
|
+
"main-internal": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
7
7
|
"author": "bootpay <bootpay.co.kr@gmail.com>",
|
|
8
8
|
"contributors": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"Thibault Malbranche <malbranche.thibault@gmail.com>"
|
|
11
11
|
],
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"version": "11.22.
|
|
13
|
+
"version": "11.22.82",
|
|
14
14
|
"homepage": "https://www.bootpay.co.kr",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"android": "react-native run-android",
|