A Akwa Member Licensed User Jul 20, 2023 #1 Hello, I tried some "solutions" to block the boucing scroll effect in webview. None of them have any effect. The "official solution" is : Objective-C: WebView.scrollView.bounces = false; WebView.scrollView.alwaysBounceVertical= false; WebView.scrollView.alwaysBounceHorizontal= false; That give : B4X: MainWebView.As(NativeObject).GetField("scrollView").SetField("bounces", False) MainWebView.As(NativeObject).GetField("scrollView").SetField("alwaysBounceVertical", False) MainWebView.As(NativeObject).GetField("scrollView").SetField("alwaysBounceHorizontal", False) Have somebody any idea ?
Hello, I tried some "solutions" to block the boucing scroll effect in webview. None of them have any effect. The "official solution" is : Objective-C: WebView.scrollView.bounces = false; WebView.scrollView.alwaysBounceVertical= false; WebView.scrollView.alwaysBounceHorizontal= false; That give : B4X: MainWebView.As(NativeObject).GetField("scrollView").SetField("bounces", False) MainWebView.As(NativeObject).GetField("scrollView").SetField("alwaysBounceVertical", False) MainWebView.As(NativeObject).GetField("scrollView").SetField("alwaysBounceHorizontal", False) Have somebody any idea ?
Erel B4X founder Staff member Licensed User Longtime User Jul 20, 2023 #2 Test it with several sites. It is possible that the bouncing is in the site layout itself. Upvote 0
A Akwa Member Licensed User Jul 20, 2023 #3 Erel said: Test it with several sites. It is possible that the bouncing is in the site layout itself. Click to expand... It's my own local page in the webview Upvote 0
Erel said: Test it with several sites. It is possible that the bouncing is in the site layout itself. Click to expand... It's my own local page in the webview