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.
-
Sencha User
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.
-
Sencha User
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"> </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
-
Thanks for the test case. Seems like a bug to me. I'm going to move this thread and file it.
-
Thanks for the report! I have opened a bug in our bug tracker.
-
Sencha User
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.
-
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.
-
Sencha User
Hi All,
is there any news on this bug? Is it fixed in version 5.1?
Thank you.
Paolo.