Fix: don't allow webview to scroll out of bounds vertically

This commit is contained in:
benonymity
2022-12-07 13:31:15 -05:00
parent 96dde8cf31
commit 371fcacc87
2 changed files with 7 additions and 7 deletions
+1
View File
@@ -26,6 +26,7 @@ public class AbsAudioPlayer: CAPPlugin {
NotificationCenter.default.addObserver(self, selector: #selector(onLocalMediaProgressUpdate), name: NSNotification.Name(PlayerEvents.localProgress.rawValue), object: nil)
self.bridge?.webView?.allowsBackForwardNavigationGestures = true;
self.bridge?.webView?.scrollView.alwaysBounceVertical = false;
}