Skip to content

Commit

Permalink
Merge pull request #130 from afterpay/disable-webview-bounce
Browse files Browse the repository at this point in the history
Prevent scrollView bounce in the checkout WebView
  • Loading branch information
adamjcampbell authored Jan 20, 2021
2 parents ac3cd48 + 13c3c3e commit a4a8369
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Configurations/Afterpay-Shared.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ TARGETED_DEVICE_FAMILY = 1,2
// This setting defines the user-visible version of the project. The value corresponds to
// the `CFBundleShortVersionString` key in your app's Info.plist.

MARKETING_VERSION = 1.4.2
MARKETING_VERSION = 1.4.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Add the Afterpay SDK as a [git submodule][git-submodule] by navigating to the ro
```
git submodule add https://github.com/afterpay/sdk-ios.git Afterpay
cd Afterpay
git checkout 1.4.2
git checkout 1.4.3
```

#### Project / Workspace Integration
Expand Down
1 change: 1 addition & 0 deletions Sources/Afterpay/Checkout/CheckoutWebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ final class CheckoutWebViewController:

webView.allowsLinkPreview = false
webView.navigationDelegate = self
webView.scrollView.bounces = false
}

override func viewDidAppear(_ animated: Bool) {
Expand Down

0 comments on commit a4a8369

Please sign in to comment.