Results 1 to 7 of 7

Thread: HOW TO edit textfield when draggable is true

    You found a bug! We've classified it as EXTJS-14686 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2014
    Posts
    139

    Default HOW TO edit textfield when draggable is true

    Hi:

    I have a textfield inside a panel and draggable is set to true.
    I am unable to edit the textfield.

    Is this a bug?

    Thanks
    J.

  2. #2
    Sencha User
    Join Date
    Apr 2014
    Posts
    139

    Default example

    Hi:

    I have a written an example which shows the problem:

    Code:
    Ext.application({
        name : 'Fiddle',
    
        launch : function() {
            Ext.create('Ext.panel.Panel',{            
                draggable: true, 
                renderTo: Ext.getBody(),
                width: 400, 
                height: 200, 
                floating: true, 
                border: true,
                html: '<div style="width:400;height:200;background-color:black">&nbsp;</div>',
                hideMode: 'offsets',
                dockedItems: [{
                    dock: 'top',
                    xtype: 'toolbar',
                    style: 'background-color: green',
                    items: [
                        {xtype: 'tbtext',
                         text: 'this is a toolbar'
                         
                        }
                    ]
                }],
                items: [
                    {
                        xtype: 'textfield',
                        fieldLabel: 'test',
                        flex: 1
                    }
                ]
            });
        }
    });
    Here is the fiddle link
    https://fiddle.sencha.com/#fiddle/8si

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the test case. Seems like a bug to me. I'm going to move this thread and file it.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

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

  5. #5
    Sencha User
    Join Date
    Apr 2014
    Posts
    139

    Default can access textfield if click on label

    Hi:

    I can access the textfield by clicking on the label.

    I looked at trying to set a delegate with the draggable setting, but it doesn't seem to work.

    Thanks
    J.

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the update -- that is very strange. I posted a note to the bug ticket with the information so our developers will be aware.

  7. #7

    Default

    Hi All,

    is there any news on this bug? Is it fixed in version 5.1?
    Thank you.

    Paolo.

Tags for this Thread

Posting Permissions

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