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

Resize doesn't worked #592

Open
ctu212 opened this issue Jun 19, 2017 · 2 comments
Open

Resize doesn't worked #592

ctu212 opened this issue Jun 19, 2017 · 2 comments

Comments

@ctu212
Copy link

ctu212 commented Jun 19, 2017

I want to do resize like this:

	resize: {
		enabled: true,
        max_size: [8, 8],
        min_size: [1, 1] }

but resize doesn't worked and even the image of resize disappeared.
Does anyone have any idea what can i do to make the grids resizable ?
Thanks!

@lhsunzhuoran
Copy link

I have the same problem,through the source code,there is an error in line 2278 with the latest release.
replace the line 2278 with “limit: { width: this.options.max_cols !== Infinity || this.options.limit.width, height: this.options.max_rows !== Infinity || this.options.limit.height },”,the problem will be solve.

@pmmcmullen94
Copy link

Old ticket, but still open. I just had this issue. I fixed it by adding the max_cols and max_rows attributes. Maybe max_size isn't working properly?

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

No branches or pull requests

3 participants