You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/03 17:10:10 UTC

[GitHub] [cordova-plugin-wkwebview-engine] breautek commented on issue #114: Disabling the scrollbars in iOS..

breautek commented on issue #114:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/114#issuecomment-653626254


   > Apparently you can fix it with:
   ```
   self.wkWebView.scrollView.showsVerticalScrollIndicator = NO;
   self.wkWebView.scrollView.showsHorizontalScrollIndicator = NO;
   ```
   
   You can probably add that after this line
   https://github.com/apache/cordova-plugin-wkwebview-engine/blob/9a8993c6830424e183ec9a76f9ad7d74fd933f6f/src/ios/CDVWKWebViewEngine.m#L99
   
   Note that you wouldn't use `self` as in that source code, `wkWebView` is a local variable. You'll need to fork this plugin to add it. I also didn't test it and I'm unfamiliar with the code base myself, so not sure if those properties are set anywheres else.
   
   If you feel this should be a configurable feature, I'd post a feature request on https://github.com/apache/cordova-ios (because `cordova-ios@6` makes this plugin obsolete).
   
   If you require anymore support, our [slack](http://slack.cordova.io/) is a more appropriate place to ask questions such as this one. We generally only use GitHub for issue tracking.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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