@onekeyfe/react-native-pager-view 3.0.179-alpha.20261015 → 3.0.179-alpha.2026101501

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.
@@ -3144,15 +3144,17 @@ static void RNCLogNativeTabScrollBoundary(NSString *owner,
3144
3144
  }
3145
3145
  if (_needsPropsReapply || oldViewProps.topScrollEdgeHard != newViewProps.topScrollEdgeHard) {
3146
3146
  _topScrollEdgeHard = newViewProps.topScrollEdgeHard;
3147
- _deferTopEdgeSlotRebuild = YES;
3148
- [self rebuildSlots];
3149
- NSUInteger generation = _generation;
3150
- dispatch_async(dispatch_get_main_queue(), ^{
3151
- if (self->_generation != generation || self->_isBeingRecycled ||
3152
- !self->_deferTopEdgeSlotRebuild) return;
3153
- self->_deferTopEdgeSlotRebuild = NO;
3147
+ if (oldViewProps.topScrollEdgeHard || newViewProps.topScrollEdgeHard) {
3148
+ _deferTopEdgeSlotRebuild = YES;
3154
3149
  [self rebuildSlots];
3155
- });
3150
+ NSUInteger generation = _generation;
3151
+ dispatch_async(dispatch_get_main_queue(), ^{
3152
+ if (self->_generation != generation || self->_isBeingRecycled ||
3153
+ !self->_deferTopEdgeSlotRebuild) return;
3154
+ self->_deferTopEdgeSlotRebuild = NO;
3155
+ [self rebuildSlots];
3156
+ });
3157
+ }
3156
3158
  insetsChanged = YES;
3157
3159
  }
3158
3160
  if (_needsPropsReapply ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-pager-view",
3
- "version": "3.0.179-alpha.20261015",
3
+ "version": "3.0.179-alpha.2026101501",
4
4
  "description": "React Native wrapper for Android and iOS ViewPager",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",
@@ -72,7 +72,7 @@
72
72
  "typescript": "^5.9.2"
73
73
  },
74
74
  "peerDependencies": {
75
- "@onekeyfe/react-native-native-logger": "3.0.179-alpha.20261015",
75
+ "@onekeyfe/react-native-native-logger": "3.0.179-alpha.2026101501",
76
76
  "react": "*",
77
77
  "react-native": "*"
78
78
  },