diff --git a/Sources/Extensions/UIKit/UIScrollView/UIScrollView+RxBindings.swift b/Sources/Extensions/UIKit/UIScrollView/UIScrollView+RxBindings.swift index 5382e291..174fb3ac 100644 --- a/Sources/Extensions/UIKit/UIScrollView/UIScrollView+RxBindings.swift +++ b/Sources/Extensions/UIKit/UIScrollView/UIScrollView+RxBindings.swift @@ -28,6 +28,8 @@ public extension Reactive where Base: UIScrollView { /// Binder instance that updates contentInset bottom value. var bottomInsetBinder: Binder { return Binder(base) { base, value in + // Quick workaround. + // For some reason code in closure won't work without async call. DispatchQueue.main.async { base.contentInset.bottom = value base.scrollIndicatorInsets.bottom = value