offsetLeft and offsetTop describe the offset relative to the parent element. Most modules work because they have a static positioning inside the page and the mouse movement tracking works as expected. However if those elements are placed with an absolute positioning the movement calculation will be wrong because of offsetLeft and offsetTop.
Where to fix:
- wherever is used offsetLeft and offsetTop
Solution:
- setMouseTraking() function that is used across multiple modules/tools need to be changed to something that keeps tracking of mouse movement based on the startX, startY position
- unit compute logic will be changing because of this
Need to investigate:
- ui-color-picker module
- ui-slider
- box-shadow