altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

webview.setZoomLevel affects all webviews

Open zziger opened this issue 2 years ago • 3 comments

Description of the problem

Currently if you use webview.setZoomLevel on any webview it will affect all webviews at the same time

Reproduction steps

  1. Create two webviews
  2. Call setZoomLevel on first one
  3. Second one changed zoom too

Expected behaviour

Only the target webview should be zoomed

Additional context

No response

Operating system

Windows 10

Version

release/12.10

zziger avatar Aug 22 '22 02:08 zziger

Can not reproduce

litolax avatar Aug 22 '22 11:08 litolax

Its reproducable

C0kkie avatar Aug 22 '22 11:08 C0kkie

I also ran into this problem, that setting the zoomlevel to one instance of a webview also applies the zoom level to all other open and newly created webviews.

Will this be fixed in this or the next version? This currently stops my implementation.

Merec avatar Sep 16 '22 14:09 Merec