Results 1 to 2 of 2

Thread: [4.1 B2/4.0.7]Ext.draw.Sprite draggable can not specify.

    You found a bug! We've classified it as EXTJS-5249 . 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 Kazuhiro Kotsutsumi's Avatar
    Join Date
    Sep 2007
    Location
    Japan
    Posts
    82

    Default [4.1 B2/4.0.7]Ext.draw.Sprite draggable can not specify.

    Ext version tested:
    • Ext 4.1 beta 2
    • Ext 4.0.7


    Browser versions tested against:
    • Chrome(Mac)


    Description:
    • An error occurs when I appoint draggable of the config option.
    • The error message is 'Uncaught TypeError: Cannot read property 'dom' of undefined'


    Test Case:

    Code:
        Ext.onReady(function() {
            var win = Ext.widget('window', {
                title: 'Ext.draw',
                width: 500,
                height: 500,
                renderTo: Ext.getBody(),
                layout: 'fit',
                items: [{
                    xtype: 'draw',
                    viewBox: false,
                    items: [{
                        draggable: true,
                        type: 'rect',
                        width: 300,
                        height: 200,
                        fill: '#FF00FF',
                        x: 100,
                        y: 100
                    }]
                }]
            }).show();
        });

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

    Default

    Thank you for the report
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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