ICEfaces
  1. ICEfaces
  2. ICE-10553

Revert Draggable position when Escape key is pressed while dragging

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P07
    • Fix Version/s: EE-1.8.2.GA_P08
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      When dragging a panelGroup, if the escape key is pressed, the panelGroup will drop over the current mouse position. It would be preferable to revert the panel to it's original position

      http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html
      http://extjs.com/deploy/dev/examples/tree/reorder.html

      http://demo.script.aculo.us/shop (reverted to old position when pressing "escape")
      http://wiki.script.aculo.us/scriptaculous/page/print/SortableListsDemo (dropped into the list on pressing "escape")

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Affects Version/s EE-1.8.2.GA_P07 [ 10672 ]
        Affects Version/s 1.7DR#2 [ 10110 ]
        Arran Mccullough made changes -
        Support Case References Support Case #13344 - https://icesoft.my.salesforce.com/50070000014ve60
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-1.8.2.GA_P08 [ 11178 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44775 Tue May 26 14:06:00 MDT 2015 art.zambrano ICE-10553 modified Draggable class to revert the panel being dragged when pressing the Esc key, whether or not the component has 'revert' in the dragOptions attribute
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/scriptaculous/dragdrop.js
        Hide
        Arturo Zambrano added a comment -

        r44775: modified Draggable class to revert the panel being dragged when pressing the Escape key, whether or not the component has 'revert' in the dragOptions attribute; added fix for Webkit browsers since they weren't capturing the Escape key.

        Show
        Arturo Zambrano added a comment - r44775: modified Draggable class to revert the panel being dragged when pressing the Escape key, whether or not the component has 'revert' in the dragOptions attribute; added fix for Webkit browsers since they weren't capturing the Escape key.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arturo Zambrano added a comment -

        I noticed the reverting doesn't re-position elements correctly in newer browsers, do I created ICE-10699 to keep track of that issue.

        Show
        Arturo Zambrano added a comment - I noticed the reverting doesn't re-position elements correctly in newer browsers, do I created ICE-10699 to keep track of that issue.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: