David Figatner
                                            David Figatner
                                        
                                    Man, I need to update the docs. I keep forgetting how clampZoom works. The minWidth/Height settings are how small the world can get (as it would appear on the screen)...
By default, `clamp({ direction: all })` will clamp so the world can't leave the viewport. If you want to allow the world to leave but never completely disappear, you'd have...
`viewport.fit()` will fit the contents. If you want to use it with clampZoom, use the code from the fit() (or fitWidth/fitHeight) to get the correct amounts.
Did you track this down? I haven't worked much in firefox mobile but I think it worked in firefox last time I checked.
`viewport.wheel()` will let you zoom with the mouse wheel at the mouse location. See docs here: https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html#wheel
Why do you prefer solution #2?
Sounds good. Maybe come up with a better name for the option (although I can't think of any right now)? Or at least put in a more detailed description in...
Are you manually calling the update method?
That sounds like a bug. It was designed to require just one value. Let me take a look through the code and see what's going on.
I just tested the code above and it seems to work. Can you show a fiddle where it doesn't work as expected?