[ https://issues.apache.org/jira/browse/CB-10123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538148#comment-16538148 ]
Shazron Abdullah commented on CB-10123: --------------------------------------- At this point, if we change the defaults, it will be a breaking change for existing apps. Will consider this for the next cordova-ios platform release which will have the wkwebview plugin baked in. When we release that, we are bumping a major version anyways, so changing the default will be fine. > -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 > Priority: Major > Labels: wkwebview-baked-in, wkwebview-known-issues > > To hide the appearance of scrollbars in Safari, Webkit, and UIWebView, we use > the following CSS: > {code} > ::-webkit-scrollbar > {display:none;} > {code} > 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: > {code} > self.wkWebView.scrollView.showsVerticalScrollIndicator = NO; > self.wkWebView.scrollView.showsHorizontalScrollIndicator = NO; > {code} > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org