cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chin Lun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10123) -webkit-scrollbar css does not work in WKWebViewEngine
Date Thu, 14 Dec 2017 04:01:00 GMT

    [ https://issues.apache.org/jira/browse/CB-10123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290311#comment-16290311
] 

Chin Lun commented on CB-10123:
-------------------------------

Hi, I am also experience this issue. Is there any ETA for the fix?

> -webkit-scrollbar css does not work in WKWebViewEngine
> ------------------------------------------------------
>
>                 Key: CB-10123
>                 URL: https://issues.apache.org/jira/browse/CB-10123
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-wkwebview-engine
>         Environment: Using iOS 9, with IOS-Cordova 4.0 (beta) and official cordova WKWebView
engine.
>            Reporter: Cole Turner
>              Labels: wkwebview-known-issues
>
> To hide the appearance of scrollbars in Safari, Webkit, and UIWebView, we use the following
CSS:
> ::-webkit-scrollbar {display:none;}
> The WKWebView engine does not honor this property. The only way to control the appearance
of a scrollbar is invoking it via a plugin as so:
> self.wkWebView.scrollView.showsVerticalScrollIndicator = NO;
> self.wkWebView.scrollView.showsHorizontalScrollIndicator = NO;
> It would be nice to abstract this as a plugin preference since the WKWebView engine is
now a separate plugin: (via Shazron)
> <preference name="ShowWebViewScrollIndicator" value="vertical, horizontal" />



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message