 
 
   __generateEventData: ->
-    x = parseInt(@root.style.left)
-    y = parseInt(@root.style.top)
+    left = @root.style.left
+    top = @root.style.top
+
+    if (left.indexOf and left.indexOf('%') isnt -1)
+      parentWidth = @parentEl.getBoundingClientRect().width
+      left = (parseFloat(left) / 100) * parentWidth
+
+    x = parseInt(left)
+    y = parseInt(top)
     startX = @__dragStartPosition[0]
     startY = @__dragStartPosition[1]
     deltaX = x - startX

    type: 'boolean'


  ###*
  # Initiates this trait by adding the necessary event listeners and classes.
  #

#
# @module stout-ui/traits/Draggable
###
clamp      = require '../util/clamp'
Foundation = require 'stout-core/base/Foundation'
isString   = require 'lodash/isString'
vars       = require '../vars'
