You found a bug! We've classified it as EXTJS-9494 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Aug 2009
    Posts
    7
    Vote Rating
    1
    geenie98 is on a distinguished road

      0  

    Default Draggable Sprite : can't drag a path (Sprite) in FF if the property Stroke is defined

    Draggable Sprite : can't drag a path (Sprite) in FF if the property Stroke is defined


    If I create a draggable Sprite of type "path", it doesn't work in FF if the property "stroke" is set.

    Basically, the following code won't drag in FF (it works in chrome).
    If I comment out the "stroke" property, the drag will work.
    Code:
    {                   
        type:   "path",
         path: "M108,32 L111,32 L111,63 108,63 Z ",                     
         fill:   "#000000",                     
        stroke: "blue",                    
        listeners : {
            render: function(sprite) {                            
                sprite.initDraggable();
            }
        }
    }

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,996
    Vote Rating
    183
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


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

    It's possible this is related to this bug:
    http://www.sencha.com/forum/showthread.php?258845

Thread Participants: 1

Tags for this Thread