How to enable Browser zoom using mouse scroll wheel?


#1

I’m trying to enable zooming (increase/decrease font size) in an electron app (in a webview) using ctrl+mouse wheel, so far no success.

There is no html-meta tag forbidding user scale, and webFrame ZoomLevelLimits would allow zooming.

Any help on this?


#2

Is it still default behaviour in Chromium? I thought it had been taken out.

You could always listen for it yourself and either scale the browser window (WebFrame.setZoomFactor(value)), or something tricksy with jQuery if you’re just after font size.