Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Range with zoom

$
0
0
Hi,

I have a div with some text in it, onmouseup i successfully being able to initiate a range using $.Range({ pageX: e.originalEvent.pageX, pageY: e.originalEvent.pageY }).

when this div has a zoom the range is incorrect, after digging a little bit in the code its this.range.getBoundingClientRect() in the rect() function that suppose to handle zoom.

Any idea how to handle this issue to correct selection when zoom is applied.

Thank you.

Viewing all articles
Browse latest Browse all 3491

Trending Articles