DmitryBaranovskiy/raphael — Issue #475: Jquery template compatibility issue
Author: skipstorm
Created: 2011-12-09 16:28:12+00:00
State: open

i guess this is not a raphaeljs bug nor a jquery template one but hope someone could give me a hand

i'm using knockout and jquery template to create a raphael paper with some Element.text() label inside

maybe because jquery template creates the element before it is attached to the dom, text is gets the wrong position, about double on the y axis

for example, on a paper 200x200 i try to place a text element at 100x80, debuging i see the attrs are set correctly but the actual position is 100x160

this problem affects only text elements on webkit browsers and ie9
on firefox 3.6 there's only a couple of pixels of difference from what should be the actual position, on chrome 15.0 is a mess

any possible solution?