Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to disable bounds for zoom, closes #33 #50

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renekorss
Copy link

Useful if bounds are set to hold content in container.

Fixes issue with options like:

{
    bounds: true,
    boundsPadding: 1,
    boundsDisabledForZoom: true
}

This will hold content inside container (not being able to pan out of container) but zoom would still be useable.

@miksansegundo
Copy link

This PR is working very well. Would love to see it merged and released👍

@hirbod
Copy link

hirbod commented Oct 11, 2019

This PR is awesome and should be integrated.

@zakariafadili
Copy link

it is an interesting option, plan to integrate it?

@lilletech
Copy link

it is an interesting option, plan to integrate it?
I'm waiting for it too !!!!

@i-chirkov
Copy link

Any info about PR to be merged?

@davidmarogy
Copy link

davidmarogy commented Dec 3, 2020

I have the issue in my angular project, that if i set bounds to true and boundspadding to 1, that it is not possible anymore to zoom.. Is there also a functionality for typescript so that it is possible to zoom while having bounds: true and boundsPadding:1? Like the above " boundsDisabledForZoom: true"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants