cordova-plugin-inappbrowser icon indicating copy to clipboard operation
cordova-plugin-inappbrowser copied to clipboard

Android FR: Enable zoom without displaying on-screen zoom controls

Open reznej opened this issue 2 years ago • 0 comments

Feature Request

Inappbrowser allows zoom functionality (pinch-to-zoom and via on-screen buttons) when the InAppBrowser instance is initialized with the option zoom set to yes. When using pinch-to-zoom gesture, displaying additional on-screen zoom buttons is not necessary. Therefore, it would be great to enable zooming functionality without displaying the buttons.

Motivation Behind Feature

  • There Is currently no option to enable zoom controls via pinch-to-zoom gesture without showing the on-screen zoom controls
  • On-screen zoom controls were deprecated in Android API level 26 - Source

Feature Description

  • There should be a separation between enabling zoom-controls (pinch-to-zoom) and additionally showing zoom-buttons to manually adjust zooming.
  • It would be great to have two options (zoom and zoomcontrols) when initializing the Inappbrowser instance, so it's up to the developer to display zoom buttons or not.

reznej avatar Sep 20 '23 13:09 reznej