Hello everyone, I have a problem when scrolling the mouse, the gadgets (webview in question) are being pulled down instead of scrolling the content of the page loaded in the webview ...
does anyone know how i solve this?
https://youtu.be/46lbMzjjbqY
how to deactivate the effect in the window that when rolling the mouse scroll the gadgets are pulled down?
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: how to deactivate the effect in the window that when rolling the mouse scroll the gadgets are pulled down?
I'm not sure how well this solves your issue - it still seems to bounce sometimes:
Code: Select all
If OpenWindow(0, 0, 0, 640, 480, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
WebGadget(0, 10, 10, 620, 460, "https://www.google.com")
Define scrollView = CocoaMessage(0, GadgetID(0), "enclosingScrollView")
CocoaMessage(@test, scrollView, "setVerticalScrollElasticity:", #NSScrollElasticityNone)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: how to deactivate the effect in the window that when rolling the mouse scroll the gadgets are pulled down?
Wow Awesome !!!!
it works, thanks
it works, thanks

Re: how to deactivate the effect in the window that when rolling the mouse scroll the gadgets are pulled down?
Which OS version? The web does not bounce for me.
macOS Ventura 13.3
macOS Ventura 13.3
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: how to deactivate the effect in the window that when rolling the mouse scroll the gadgets are pulled down?
Hi, thanks by u answer, sorry for the delay to answermk-soft wrote: Thu May 11, 2023 9:38 am Which OS version? The web does not bounce for me.
macOS Ventura 13.3
i am using same version ...
could it be the pb version?