svgdotjs / svg.draw.js

An extension of svg.js which allows to draw elements with mouse
MIT License
239 stars 57 forks source link

Browsers support #21

Open inanisvitae opened 7 years ago

inanisvitae commented 7 years ago

It looks like svg.draw.js has really poor cross browser support. It behaves completely differently when running on different modern browser.

Fuzzyma commented 7 years ago

Please create a fiddle showing your issues. Show examples of what's wrong.

inanisvitae commented 7 years ago

How exactly do you use cancel on a polygon? Is it like

polygon.draw('cancel') or polygon.fire('cancel') ?

Fuzzyma commented 7 years ago

How is this in any way related to the issue?

It's draw('cancel") as stated in the docs

inanisvitae commented 7 years ago

I have exactly the same code on chrome and firefox, but chrome doesn't cancel drawing polygon while firebox does

Fuzzyma commented 7 years ago

Please create a fiddle which shows this issue!

inanisvitae commented 7 years ago

Do you know what does TypeError: this.set is undefined mean?

Fuzzyma commented 7 years ago

Man please just create that fiddle! There is no worth in this question when I can't reproduce it. So take your code, chunk it down to the minimum and put it on jsfiddle. This way I can see what you did and how and catch the problem