svg.resize.js icon indicating copy to clipboard operation
svg.resize.js copied to clipboard

[Bug in demo] Rotate and resize

Open mudin opened this issue 6 years ago • 9 comments

Hello! Thanks for the plugin! There is obvious issue in demo in resizing the star after rotating. Is there any future plan to fix it?

mudin avatar Apr 04 '19 01:04 mudin

Please explain the issue

Fuzzyma avatar Apr 04 '19 04:04 Fuzzyma

in this demo I rotated the star first and then resized it. here is the result: Screen Shot 2019-04-04 at 1 33 12 PM

mudin avatar Apr 04 '19 04:04 mudin

I see this the first time (and I tried this a lot - nobody else reported this problem so far)! What Browser? Which version? Any errors in the console?

Fuzzyma avatar Apr 04 '19 04:04 Fuzzyma

It could be select plugin's bug too. I am using Chrome's latest version (73.0.3683.86 (Official Build) (64-bit)) on Mac OS X Mojave 10.14.2 ()

mudin avatar Apr 04 '19 04:04 mudin

Oh wow thats indeed a bug with svg.select.js. It seems like Chrome stoppped supportung Mutation Obeservers. The svg.select plugin tries to use both, Mutation Events and Observer and both doesnt seem to work. Really strange...

Fuzzyma avatar Apr 04 '19 04:04 Fuzzyma

@Fuzzyma yeah very strange, Thanks a lot

mudin avatar Apr 04 '19 05:04 mudin

@Fuzzyma I am using resize together with panzoom and draggable plugins, and checked in safari, chrome and firefox, none of them is working properly. It is moving position while resizing. here is the demo

mudin avatar Apr 04 '19 05:04 mudin

even I removed panzoom and draggable, it has some issue https://codesandbox.io/s/383o43op5 resize_issue

mudin avatar Apr 04 '19 05:04 mudin

Oh don't care about last question. You already answered in #41.

mudin avatar Apr 04 '19 05:04 mudin