uilib-native 5.0.0-snapshot.7426 → 5.0.1
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/package.json
CHANGED
package/scripts/releaseNative.js
CHANGED
|
@@ -59,7 +59,9 @@ function tryPublishAndTag(version) {
|
|
|
59
59
|
|
|
60
60
|
function tagAndPublish(newVersion) {
|
|
61
61
|
console.log(`trying to publish ${newVersion}...`);
|
|
62
|
-
|
|
62
|
+
if (IS_SNAPSHOT) {
|
|
63
|
+
exec.execSync(`npm --no-git-tag-version version ${newVersion}`);
|
|
64
|
+
}
|
|
63
65
|
exec.execSync(`npm publish --tag ${VERSION_TAG}`);
|
|
64
66
|
if (!IS_SNAPSHOT) {
|
|
65
67
|
exec.execSync(`git tag -a ${newVersion} -m "${newVersion}"`);
|