diff --git a/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/InAppWebView/InAppWebView.java b/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/InAppWebView/InAppWebView.java index 2d3c58e08..07933b6d2 100644 --- a/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/InAppWebView/InAppWebView.java +++ b/android/src/main/java/com/pichillilorenzo/flutter_inappwebview/InAppWebView/InAppWebView.java @@ -693,8 +693,6 @@ public void onFindResultReceived(int activeMatchOrdinal, int numberOfMatches, bo } }); - setVerticalScrollBarEnabled(!options.disableVerticalScroll); - setHorizontalScrollBarEnabled(!options.disableHorizontalScroll); setOnTouchListener(new View.OnTouchListener() { float m_downX; float m_downY; @@ -1160,12 +1158,6 @@ else if (newOptionsMap.get("clearSessionCache") != null && newOptions.clearSessi } } - if (newOptionsMap.get("disableVerticalScroll") != null && options.disableVerticalScroll != newOptions.disableVerticalScroll) - setVerticalScrollBarEnabled(!newOptions.disableVerticalScroll); - - if (newOptionsMap.get("disableHorizontalScroll") != null && options.disableHorizontalScroll != newOptions.disableHorizontalScroll) - setHorizontalScrollBarEnabled(!newOptions.disableHorizontalScroll); - options = newOptions; }