react-native-ui-lib 8.0.0 → 8.0.1-snapshot.7456
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.
|
@@ -207,7 +207,9 @@ typedef NS_ENUM(NSUInteger, KeyboardTrackingScrollBehavior) {
|
|
|
207
207
|
{
|
|
208
208
|
if(_scrollViewToManage == nil)
|
|
209
209
|
{
|
|
210
|
-
if ([NSStringFromClass([subview class]) isEqualToString:@"RCTScrollViewComponentView"]
|
|
210
|
+
if ([NSStringFromClass([subview class]) isEqualToString:@"RCTScrollViewComponentView"] &&
|
|
211
|
+
subview.superview != self) {
|
|
212
|
+
|
|
211
213
|
UIScrollView *scrollView = [self extractUIScrollView:subview];
|
|
212
214
|
|
|
213
215
|
if ([scrollView isKindOfClass:[UIScrollView class]])
|
|
@@ -434,9 +436,7 @@ typedef NS_ENUM(NSUInteger, KeyboardTrackingScrollBehavior) {
|
|
|
434
436
|
|
|
435
437
|
- (void)_updateScrollViewInsets
|
|
436
438
|
{
|
|
437
|
-
|
|
438
|
-
return;
|
|
439
|
-
/*if(self.scrollViewToManage != nil)
|
|
439
|
+
if(self.scrollViewToManage != nil)
|
|
440
440
|
{
|
|
441
441
|
UIEdgeInsets insets = self.scrollViewToManage.contentInset;
|
|
442
442
|
CGFloat bottomSafeArea = [self getBottomSafeArea];
|
|
@@ -483,7 +483,7 @@ typedef NS_ENUM(NSUInteger, KeyboardTrackingScrollBehavior) {
|
|
|
483
483
|
insets.bottom = bottomInset;
|
|
484
484
|
}
|
|
485
485
|
self.scrollViewToManage.scrollIndicatorInsets = insets;
|
|
486
|
-
}
|
|
486
|
+
}
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
#pragma mark - bottom view
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-ui-lib",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1-snapshot.7456",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"types": "src/index.d.ts",
|
|
6
6
|
"author": "Ethan Sharabi <ethan.shar@gmail.com>",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"setimmediate": "^1.0.5",
|
|
130
130
|
"shell-utils": "^1.0.10",
|
|
131
131
|
"typescript": "5.0.4",
|
|
132
|
-
"uilib-native": "5.0.
|
|
132
|
+
"uilib-native": "5.0.1"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
135
|
"react": ">=18.3.1",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"react-native-gesture-handler": ">=2.24.0",
|
|
138
138
|
"react-native-reanimated": ">=3.17.5",
|
|
139
139
|
"react-native-ui-lib": "*",
|
|
140
|
-
"uilib-native": "5.0.
|
|
140
|
+
"uilib-native": "^5.0.1"
|
|
141
141
|
},
|
|
142
142
|
"jest": {
|
|
143
143
|
"preset": "react-native",
|
|
@@ -4,6 +4,7 @@ import { StyleSheet, Image } from 'react-native';
|
|
|
4
4
|
import { Colors } from "../../style";
|
|
5
5
|
import View from "../view";
|
|
6
6
|
import Assets from "../../assets";
|
|
7
|
+
import Constants from "../../commons/Constants";
|
|
7
8
|
const OVERLY_TYPES = {
|
|
8
9
|
VERTICAL: 'vertical',
|
|
9
10
|
TOP: 'top',
|
|
@@ -109,7 +110,7 @@ class Overlay extends PureComponent {
|
|
|
109
110
|
const styles = StyleSheet.create({
|
|
110
111
|
container: {
|
|
111
112
|
...StyleSheet.absoluteFillObject,
|
|
112
|
-
width: undefined
|
|
113
|
+
width: Constants.isWeb ? '100%' : undefined
|
|
113
114
|
},
|
|
114
115
|
top: {
|
|
115
116
|
bottom: undefined,
|