Skip to content

MAUI HybridWebView Zoom #30126

@OvrBtn

Description

@OvrBtn

Description

I'm not really sure if it's a bug or a missing feature but normal WebViews for Android have zoom which can be enable like the docs show https://learn.microsoft.com/en-us/dotnet/maui/android/platform-specifics/webview-zoom-controls?view=net-maui-9.0 but I don't see anything like that for HybridWebView.

Trying the android:WebView.EnableZoomControls="true" android:WebView.DisplayZoomControls="true" generates 'DisplayZoomControls' is not attachable to elements of type 'HybridWebView'. error.

Also using Handlers for WebView doesn't seem to work either.
Is there a way to do this?

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.40 SR4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions