diff --git a/OmiseSDK/Sources/ToolKit/UI Extensions/UIScrollView+Helpers.swift b/OmiseSDK/Sources/ToolKit/UI Extensions/UIScrollView+Helpers.swift index 76961b02..9fd0c08e 100644 --- a/OmiseSDK/Sources/ToolKit/UI Extensions/UIScrollView+Helpers.swift +++ b/OmiseSDK/Sources/ToolKit/UI Extensions/UIScrollView+Helpers.swift @@ -19,7 +19,7 @@ extension UIScrollView { let bottomScrollIndicatorInset: CGFloat if #available(iOS 11.0, *) { - bottomScrollIndicatorInset = keyboardFrame.height - safeAreaInsets.bottom + bottomScrollIndicatorInset = keyboardFrame.height - self.safeAreaInsets.bottom } else { bottomScrollIndicatorInset = keyboardFrame.height }