<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello,</div><div dir="ltr" data-setdir="false">    I am in the process of upgrading a system from OpenLayers 5.x to 6.x. The only issue I've run into so far has to do with a hack I implemented some time ago to enable the <span>DragBox interaction on</span> touchscreen devices. My hack relied on the <span> ol.interaction.DragBox.handleEvent function which is no longer around. The code is below. Any suggestions of how to enable <span> <span>DragBox interaction on</span> touchscreen devices</span> in the 6.x series?</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>        var _handleEvent = ol.interaction.DragBox.handleEvent;<br>        if (_handleEvent){<br>            dragBox.handleEvent = function(e) {<br>                if (e.pointerEvent && e.pointerEvent.pointerType === 'touch') {<br>                    e.pointerEvent.pointerType = 'mouse';<br>                }<br>                return _handleEvent.apply(this, arguments);<br>            };<br>        }<br>        else{<br>            //???<br>        }</div><div><br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><span>Thanks,</span></div><span>Peter</span></div><div><br></div></div></div></div></body></html>