View Full Version : [DUP] Problem with draggable form field in viewport

5 Nov 2011, 12:59 AM
I have a textarea in the center region of a viewport. I've set the textarea to be draggable. But as soon as I start dragging, the form field jumps to a new start position. The new start position seems to be the offset of the textarea to the browser window, applied to the center region. Anybody got any ideas how I can prevent this?

Ext.onReady(function () {
Ext.create('Ext.container.Viewport', {
layout: 'border',
items: [
{ region: 'north', height: 200, html: 'north' },
{ region: 'south', height: 100, html: 'south' },
{ region: 'east', width: 100, html: 'east' },
{ region: 'west', width: 200, html: 'west' },
{ region: 'center',
items: {
xtype: 'textarea',
width: 150,
draggable: true

16 Nov 2011, 12:17 PM
What version are you using?

16 Nov 2011, 10:12 PM
Hey. Thanks for your response. I'm using 4.0.7

17 Nov 2011, 6:49 AM
Looks like a bug. Let me search our bug tracker to see if there is an open bug. If not I will move this to the bugs forum and open a bug.

2 Mar 2012, 1:52 PM
Is there a workaround or override to address this issue? It is biting me when attempting to drag an Image control.