Cole Turner created CB-10123:
--------------------------------
Summary: WKWebView for IOS requires a plugin to hide the
appearance of scrollbars
Key: CB-10123
URL: https://issues.apache.org/jira/browse/CB-10123
Project: Apache Cordova
Issue Type: Improvement
Components: iOS
Environment: Using iOS 9, with IOS-Cordova 4.0 (beta) and official
cordova WKWebView engine.
Reporter: Cole Turner
Priority: Minor
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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]