Zoom problem with Microsoft Edge

161 views
Skip to first unread message

marceltr...@gmail.com

unread,
Jan 25, 2016, 2:45:15 PM1/25/16
to JointJS
Hey guys,

I am building an app where I need a graph and I am currently implementing zoom and pan functionnality.

When I tested it on Microsoft Edge I stumbled upon a weird bug.
I made a jsfiddle where you can see the problem on Microsoft Edge : (It works on everything except Edge)
http://jsfiddle.net/zo2nzrqe/

Does anybody have an idea on how to fix it?

Thanks

marceltr...@gmail.com

unread,
Jan 25, 2016, 2:46:52 PM1/25/16
to JointJS
Oups, I forgot to explain the problem, my bad.
If you click on the zoomout button you will notice that the text is going out of the rectangle instead of staying in it.

Roman Bruckner

unread,
Jan 26, 2016, 4:05:50 AM1/26/16
to joi...@googlegroups.com
Hi Marcel,
I can't reproduce. The demo behaves correctly for me under Microsoft Edge (20.10240.16384.0).
Best,
Roman



On 25 January 2016 at 20:46, <marceltr...@gmail.com> wrote:
Oups, I forgot to explain the problem, my bad.
If you click on the zoomout button you will notice that the text is going out of the rectangle instead of staying in it.

--

---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

marceltr...@gmail.com

unread,
Jan 26, 2016, 7:03:15 AM1/26/16
to JointJS
Weird,
I am using Miscrosoft Edge 25.10586.0.0
Microsoft EdgeHTML : 13.10586.

Maybe you could try to update it and see if it still works.

Thanks

marceltr...@gmail.com

unread,
Jan 28, 2016, 11:58:02 AM1/28/16
to JointJS
No one can reproduce the bug on, Windows 10 Microsoft Edge?

Thanks

Simon Brown

unread,
Mar 4, 2016, 12:24:11 PM3/4/16
to JointJS
Yes, I can see and have the same problem with my own app on Microsoft Edge too. All other (modern) browsers are okay.
Message has been deleted

Franz Zegarra

unread,
Jun 29, 2016, 4:48:30 PM6/29/16
to JointJS
Same problem here, only with Microsoft Edge.

Roman Bruckner

unread,
Jun 30, 2016, 2:07:23 AM6/30/16
to joi...@googlegroups.com
Hi,
Ok, please let us check that issue once again and I'll let you know.
Best,
Roman

On 29 June 2016 at 22:48, Franz Zegarra <zegarr...@gmail.com> wrote:
Same problem here, only with Microsoft Edge.

--

---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roman Bruckner

unread,
Jun 30, 2016, 3:50:10 AM6/30/16
to joi...@googlegroups.com
Hi,

it seems like a bug in MS Edge. `text-anchor` CSS attribute / SVG attribute is not properly applied on the text element.
Try to open web inspector, find the element SVGText and add inline css rule `text-anchor`: `middle`. Disable it and reenable. Now the position of the text should be fine.

Fortunately there is a workaround for this issue. (Not to use `text-anchor` but a JointJS special attribute `x-alignment`)

Best,
Roman

Franz Zegarra

unread,
Jun 30, 2016, 10:24:07 AM6/30/16
to JointJS
Hello,

Thanks Roman, it fixed the problem.
Reply all
Reply to author
Forward
0 new messages