Ulrich-Matthias Schäfer

Results 579 comments of Ulrich-Matthias Schäfer

In which part this error happens? Is the `{ SVG }` you imported undefined? At which part does it fail? When bundling or when executing?

Webpack picks up the wrong bundle. As you can see in the package.json of this repo, the module key is set to ./src/svg.panzoom.js . If you import this package via...

Well it clearly is a module. webpack does some magic there. You could go ahead and load those scripts in the browser and it would work

You just have to put the license with it and then ist fine :)

svgdom is usually how you run svg.js on the server because there is no other library that calculates geometry for you. But why on earth would you include panZoom on...

panZoon adds events to the dom. The server doesnt have a dom. You need to initialize it on the clint

Unfortunately no. Something went wrong with the margin property. WHen I tested it, it was fine but I get reports that it doesn't work as expected so maybe there is...

I wrote this code a while ago but I am pretty certain that dividing by zoom transforms the inner coordinates to outer coordinates. If you write margin-top: 50, you want...

Thanks for taking the time. It looks really random to only change the margin when you hit 0.5 zoom. Doesn't it make way more sense to always adapt to the...

Why exactly 0.5? Is it just some guess? An unprecise solution might work for your use-case but most likely not for others. It seems like you are fixing the effect...