aix 0.4.1 → 0.5.0

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.
@@ -480,7 +480,7 @@ class HybridAix: HybridAixSpec, AixContext, KeyboardNotificationsDelegate {
480
480
  /// Centralized function to check and fire onScrolledNearEndChange callback
481
481
  /// Called from KVO observers and after content inset changes
482
482
  private func updateScrolledNearEndState() {
483
- guard scrollView != nil else { return }
483
+ guard didScrollToEndInitially, scrollView != nil else { return }
484
484
  let isNearEnd = getIsScrolledNearEnd(distFromEnd: distFromEnd)
485
485
  guard isNearEnd != prevIsScrolledNearEnd else { return }
486
486
  prevIsScrolledNearEnd = isNearEnd
@@ -730,7 +730,7 @@ class HybridAix: HybridAixSpec, AixContext, KeyboardNotificationsDelegate {
730
730
  applyContentInset()
731
731
  applyScrollIndicatorInsets()
732
732
  scrollToEndInternal(animated: false)
733
- updateScrolledNearEndState()
733
+ prevIsScrolledNearEnd = getIsScrolledNearEnd(distFromEnd: distFromEnd)
734
734
  }
735
735
  didScrollToEndInitially = true
736
736
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aix",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "author": "Fernando Rojo",
5
5
  "repository": {
6
6
  "type": "git",