Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / draw / Tiger.js
index 89af461..7426c0d 100644 (file)
@@ -18,7 +18,8 @@ Ext.onReady(function() {
         height: 400,
         cls: 'cursor-dragme',
         draggable: {
-            constrain: true
+            constrain: true,
+            constrainTo: Ext.getBody()
         },
         floating: true,
         renderTo: Ext.getBody(),