breautek commented on issue #1244: URL: https://github.com/apache/cordova-ios/issues/1244#issuecomment-1237162597
> The OP mentions alwaysBounceVertical. Is there any way I can set that myself as a workaround if the webkit issue doesn't get fixed before the full rollout of iOS 16? Cordova doesn't expose an interface to set these native properties afaik, but you can fork cordova-ios and add the configuration options. I'm not an iOS developer myself, but it seems like [alwaysBounceVertical](https://developer.apple.com/documentation/uikit/uiscrollview/1619383-alwaysbouncevertical?language=objc) & [alwaysBounceHorizontal](https://developer.apple.com/documentation/uikit/uiscrollview/1619393-alwaysbouncehorizontal?language=objc) are `ScrollView` settings, which neither is the `WKWebView` or our containing view is a `UISrollView`. Rather they are `UIView`'s instead. So you may need to update https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVViewController.m#L503 to create a `UIScrollView` instead of a `UIView` and set the settings you want on it. Then you can install your fork from github, using `cordova platform add <github clone url>` When forking and making changes, I'd recommend branching off a release tag, as the repository may contain commits that haven't yet been voted on for release. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
