<div>
<div><span><span class="Apple-style-span" style="font-size: 16px; "><div><span>Hi all,</span></div><div><span><br></span></div><div><span>I'm using an Openlayers map on a page with several text input elements. The problem is that clicking the map does not blur the text input elements. </span></div><div>I've looked into this and it turns out that the Drag handler (used by the DragPan control) prevents the default browser behavior on mousedown events, it calls OpenLayers.Event.stop(evt) which stops even bubbling and calls evt.preventDefault.</div><div><br></div><div>Canceling the evt.preventDefault call solves my problem while stil preserving the original DragPan functionality. Why is calling evt.preventDefault necessary here? </div><div><br></div><div><br></div><div>Thanks,</div><div><span>Avia Aharon<br></span></div></span></span>
</div>
</div>