Results 78 comments of bumbu

Hi @mflahe, Thank you for a descriptive issue and examples. Having an online (one-click viewable) example would be very helpful. I took the time and [created a reproducible example](http://jsfiddle.net/167usffr/766/). Yes,...

One reason why transform attribute is not removed is because while initializing svgPanZoom it removes `viewBox` attribute. So removing transform would affect those SVGs that had `viewBox`. But from what...

Removing `viewBox` attribute and setting `{fit: false, center: false}` [does not alter initial SVG state](https://jsfiddle.net/v0ym8gaL/1/). In case when there is a `viewBox` attribute - it changes the zoom/pan on second...

Yes, it is sort of workaround. On destroy we use `reset` method. The problem is that reset is based not on original SVG values, but on precomputed values based on...

Hi @amilajack. PRs are generally welcome as long as they don't break anything or introduce regressions. I'd be ok with ES6 or ES7 as long as it works the same...

Making the code more readable is definitely a benefit. Are you thinking about arrow functions and object destructors? I think class methods annotation would also become shorter. Static analysis is...

You may also need to consider current zoom using `. getSizes()`. Also when zooming at a point, it just takes into account that specific point (aka the point will be...

>Here's jsfiddle showing my current problem. https://jsfiddle.net/4d2cs0u5/1/ Thank you for the fiddle, it helps understand the issue better. > It seems that SVGPanZoom doesn't want to pan past the borders...

Hi @FrazerDH , Please provide a [reproducible example](https://github.com/ariutta/svg-pan-zoom#bugs-and-issues). Without it it's hard to understand what's the issue. Also please provide some more information on what exactly you're trying to achieve...

It's really hard to understand what the issue is exactly without an example. Did you check the demos? Many of them have the SVG take full width and height of...