Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
reznej opened this issue Sep 20, 2023 · 0 comments
Open

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

reznej opened this issue Sep 20, 2023 · 0 comments

Comments

@reznej
Copy link

reznej commented Sep 20, 2023

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 pushed a commit to reznej/cordova-plugin-inappbrowser that referenced this issue Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant