Skip to content

[webview_flutter]WebView can't hide scollbar #62464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tongyangsheng opened this issue Jul 29, 2020 · 16 comments · May be fixed by flutter/packages#9024
Open

[webview_flutter]WebView can't hide scollbar #62464

tongyangsheng opened this issue Jul 29, 2020 · 16 comments · May be fixed by flutter/packages#9024
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter p: webview The WebView plugin P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels. team-ecosystem Owned by Ecosystem team triaged-ecosystem Triaged by Ecosystem team

Comments

@tongyangsheng
Copy link

I am a webview plugin user. I found that there is no parameter in the plugin to control the display of the scroll bar. In my opinion, this is a basic function and it is not very difficult to implement. So I want to know why Consider not increasing this parameter? If I add a new parameter to realize the function of hiding the scroll bar, can I propose pr.

@TahaTesser
Copy link
Member

TahaTesser commented Jul 29, 2020

This needs to be supported in webview_flutter
Meanwhile you can use flutter_webview_plugin package for scrollbar

@TahaTesser TahaTesser added p: first party p: webview The WebView plugin c: proposal A detailed proposal for a change to Flutter c: new feature Nothing broken; request for a new capability labels Jul 29, 2020
@tongyangsheng
Copy link
Author

Oh I see,Thanks!

@TahaTesser
Copy link
Member

This issue should remain open since we can use this feature in webview_flutter, thanks

@tongyangsheng
Copy link
Author

Oh thank you~ I will continue to pay attention to this issue.

@ycv005
Copy link

ycv005 commented Oct 25, 2020

This needs to be supported in webview_flutter
Meanwhile you can use flutter_webview_plugin package for scrollbar

Much better- flutter_inappwebview I think

@stuartmorgan-g stuartmorgan-g added the P3 Issues that are less important to the Flutter project label Aug 4, 2021
@kurt-liao

This comment was marked as off-topic.

@oktajianto

This comment was marked as off-topic.

@WindBise

This comment was marked as off-topic.

@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
@Hixie Hixie removed the plugin label Jul 6, 2023
@flutter-triage-bot flutter-triage-bot bot added team-ecosystem Owned by Ecosystem team triaged-ecosystem Triaged by Ecosystem team labels Jul 8, 2023
@frasker

This comment was marked as off-topic.

@iska9der

This comment was marked as off-topic.

@Abdullah-Mazumder

This comment was marked as off-topic.

@ViolyCodevB

This comment was marked as off-topic.

@dragongesa

This comment was marked as off-topic.

@centaurussa

This comment was marked as off-topic.

@sm9i
Copy link

sm9i commented Mar 25, 2025

Has this issue still not been resolved?

@centaurussa
Copy link

Has this issue still not been resolved?

FYI, I've switched to inappwebview. It supports hiding the scroll bar. Here is a snippet:-

InAppWebView(
  initialSettings: InAppWebViewSettings(
    verticalScrollBarEnabled: false,
    forceDark: ForceDark
        .OFF, // Force light mode in WebView
    disableHorizontalScroll: true,
    transparentBackground: false,
    underPageBackgroundColor:
        Colors.transparent,
    verticalScrollbarThumbColor:
        Colors.transparent,
    verticalScrollbarTrackColor:
        Colors.transparent,
    horizontalScrollbarThumbColor:
        Colors.transparent,
    horizontalScrollbarTrackColor:
        Colors.transparent,
    supportZoom: false,
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter p: webview The WebView plugin P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels. team-ecosystem Owned by Ecosystem team triaged-ecosystem Triaged by Ecosystem team
Projects
None yet
Development

Successfully merging a pull request may close this issue.