WSDOT-GIS / bridge-clearance-app

An application that provides bridge clearance information
The Unlicense
2 stars 0 forks source link

Info Window should be movable #27

Open JeffJacobson opened 9 years ago

JeffJacobson commented 9 years ago

(minor issue) Users communicated that the restriction dialog box was in the way of map information and even tried to move it out while leaving the details open during the study.

Tried

    /**
     * Makes the popup draggable.
     * @returns {dojo/dnd/Moveable}
     */
    function makePopupDraggable() {
        var popupDiv = document.querySelector(".esriPopup");
        var dnd;
        if (popupDiv) {
            dnd = new Moveable(popupDiv);
        }
        // TODO: Figure out how to make the little arrow point the right way after dragging.
        return dnd;
    }

This implementation caused issues with mobile.