Hi to All!
I ran into a phenomenon that I do not understand while working on this problem for @sjdaniels :
Note: Steven was using a symbol with innerHTML, I stripped it down to just two elements (then grouped - no innerHTML) in the following examples. The results were the same, symbol or grouped element.
My solution had two variations:
First, jQuery - since that is what Steven is using.
Moves the grouped element back to original location.
It worked but had very strange second drag effect > clicking on the grouped element again made it jump to the location where the drag of the grouped element finished after the first drag.
Next I tried:
var reSet = hypeDocument.getElementById('rectLoc'); hypeDocument.setElementProperty(reSet, 'left', '100'); hypeDocument.setElementProperty(reSet, 'top', '100');
Also resulting in unexpected behavior: after the grouped element was reset into place, and then another (attempted) drag, it flies off the page.
I've tried with/without "Position with CSS left/top". Ditto "Use Webkit graphics acceleration" just in case these settings had an impact - made no difference - what ever the settings same behaviors ensued.
Here’s the Project containing both code approaches: TitleBarReset_v2.hype.zip (17.6 KB)
These behaviors strike me as buggy.