aix 0.4.1 → 0.5.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.
package/ios/HybridAix.swift
CHANGED
|
@@ -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
|
-
|
|
733
|
+
prevIsScrolledNearEnd = getIsScrolledNearEnd(distFromEnd: distFromEnd)
|
|
734
734
|
}
|
|
735
735
|
didScrollToEndInitially = true
|
|
736
736
|
} else {
|