Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info Window should be movable #27

Open
JeffJacobson opened this issue Dec 23, 2014 · 0 comments
Open

Info Window should be movable #27

JeffJacobson opened this issue Dec 23, 2014 · 0 comments

Comments

@JeffJacobson
Copy link
Contributor

(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.

@JeffJacobson JeffJacobson changed the title Restriction dialog box should be movable Info Window should be movable Dec 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant