Results 1 to 3 of 3

Thread: [2.1.0-b3] Draggable component overflow parent container when dragged

    You found a bug! We've classified it as TOUCH-3479 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default [2.1.0-b3] Draggable component overflow parent container when dragged

    REQUIRED INFORMATION


    Ext version tested:
    • [2.1.0-b3]


    Browser versions tested against:
    • All compatible - Chrome, Safari, Webkit (iOS and Android 4)


    DOCTYPE tested against:
    • HTML 5


    Description:
    • Draggable component overflows its container, when dragged outside boundaries. Constraint parameter is set to null to allow dragging image that fills entire component. It worked greate on ST 2.0


    Steps to reproduce the problem:
    • create a panel with draggable item inside that fills entire space, set constraint to null
    Code:
     items: [
                {
                    xtype: 'image',
                    id: 'viewerImage',
                    src: 'resources/images/empty_view.png',
                    draggable: {
                        direction: "both",
                        constraint: null,                    
                        bubbleEvents: 'dragend'                    
                    },
                    style: {
                        background: 'white'
                    },
                        
                }        
            ]


    The result that was expected:
    • component should be draggable, but should not overflow / cover neighboring components.


    The result that occurs instead:
    • Dragged component floats over other components outside boundaries. That was not the case in ST 2.0. It should behave simmilar to scroller, that does not scroll outside of component (the overflow is hidden)


    Screenshot or Video:
    • attached


    See this URL for live test case:
    http://youtu.be/7sSTxo66Cuo


    Debugging already done:
    • none


    Possible fix:
    • not provided

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

    Just my opinion, as a user I would expect it to get hidden as in your video, I wouldn't expect it to go above the list on the left.

  3. #3

    Default

    Yes of course, that is what I mean!
    But it stayed hidden WHILE dragging, and after release. Now in 2.1-b3 it overflows while dragging, but gets properly hidden when released.

    This video shows previous and desired effect (on ST 1.x but it worked the same way on ST 2.0) it has changed now in ST 2.1-b3.
    http://youtu.be/q54gASAwuas

    Thanks,
    Mike
    Last edited by MaciejZabielski; 18 Sep 2012 at 7:40 AM. Reason: video link missing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •