I have observed that when all OpenLayers.Layers are set to invisible, I lose the ability to zoom in and out using the mousewheel. Although I can still use the OpenLayers.Control.Zoom buttons, the mouse wheel functionality is disabled.
Is there a way to deactivate this 'feature'?
Edit:
Check out this jsfiddle link. Set the layer to invisible, try scrolling, then make it visible again. It doesn't work. But if you set it invisible, use the zoom control button, and then make it visible again.
Here is some code showing how the map is initialized because SO requires it in order to post jsfiddle:
var map = new OpenLayers.Map({
div: "map",
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
layers: [ new OpenLayers.Layer.OSM() ]
});