You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[webview_flutter] Support disabling overscroll #57090
This would be good to add to android as well. Though I am looking to specifically disable overscrolling on both platforms, not disabling scroll altogether.
Retitling to be platform-generic. (It looks like the Android version is setOverScrollMode.)
not disabling scroll altogether
This issue was about disabling overscroll, not scroll, given the code shown in the original post. It looks like that was a typo in the feature request.
And iOS can create similar behavior as each mode by setting a specific combination of:
var bounces: Bool
A Boolean value that controls whether the scroll view bounces past the edge of content and back again. var bouncesHorizontally: Bool
A Boolean value that determines whether the scroll view bounces when it reaches the ends of its horizontal axis. var bouncesVertically: Bool
A Boolean value that determines whether the scroll view bounces when it reaches the ends of its vertical axis. var alwaysBounceVertical: Bool
A Boolean value that determines whether bouncing always occurs when vertical scrolling reaches the end of the content. var alwaysBounceHorizontal: Bool
A Boolean value that determines whether bouncing always occurs when horizontal scrolling reaches the end of the content view.
My idea would be to add a setOverScrollMode as the platform agnostic feature and if people want more specific axis control on iOS, it can be added as part of the iOS implementaiton.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
0x1af2aec8f957 commentedon May 13, 2020
TahaTesser commentedon May 13, 2020
Looks there is a PR for this #1977
Trying above workaround freezed webview scrolling
Reprevise commentedon Mar 13, 2023
This would be good to add to android as well. Though I am looking to specifically disable overscrolling on both platforms, not disabling scroll altogether.
[-]WebView disable bounce on iOS[/-][+][webview_flutter] Support disabling overscroll[/+]stuartmorgan-g commentedon Mar 13, 2023
Retitling to be platform-generic. (It looks like the Android version is setOverScrollMode.)
This issue was about disabling overscroll, not scroll, given the code shown in the original post. It looks like that was a typo in the feature request.
MatejKandrac commentedon May 3, 2023
4 remaining items
omi-jrparreno commentedon Mar 12, 2024
bparrishMines commentedon Nov 20, 2024
Looking into the feature a little more. It looks like Android supports 3 modes:
Valid over-scroll modes are OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS (allow over-scrolling only if the view content is larger than the container), or OVER_SCROLL_NEVER.
And iOS can create similar behavior as each mode by setting a specific combination of:
var bounces: Bool
A Boolean value that controls whether the scroll view bounces past the edge of content and back again.
var bouncesHorizontally: Bool
A Boolean value that determines whether the scroll view bounces when it reaches the ends of its horizontal axis.
var bouncesVertically: Bool
A Boolean value that determines whether the scroll view bounces when it reaches the ends of its vertical axis.
var alwaysBounceVertical: Bool
A Boolean value that determines whether bouncing always occurs when vertical scrolling reaches the end of the content.
var alwaysBounceHorizontal: Bool
A Boolean value that determines whether bouncing always occurs when horizontal scrolling reaches the end of the content view.
My idea would be to add a
setOverScrollModeas the platform agnostic feature and if people want more specific axis control on iOS, it can be added as part of the iOS implementaiton.[webview_flutter_platform_interface] Adds method to set overscroll mo…
[webview_flutter_android][webview_flutter_wkwebview] Adds platform im…
[webview_flutter] Adds support to control overscrolling (#8451)
github-actions commentedon May 2, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[webview_flutter] Adds support to control overscrolling (#8451)
[webview_flutter] Adds support to control overscrolling (flutter#8451)
[webview_flutter] Adds support to control overscrolling (flutter#8451)
[webview_flutter] Adds support to control overscrolling (flutter#8451)
[webview_flutter] Adds support to control overscrolling (flutter#8451)
[webview_flutter] Adds support to control overscrolling (flutter#8451)