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

maxTop in 'angular-gridster/src/angular-gridster.js' #516

Open
kvsystems opened this issue Aug 12, 2020 · 0 comments
Open

maxTop in 'angular-gridster/src/angular-gridster.js' #516

kvsystems opened this issue Aug 12, 2020 · 0 comments

Comments

@kvsystems
Copy link

Row 1707:

maxTop = 9999

This will block gridster element height:

this.$element.css('height', (this.sizeY * this.gridster.curRowHeight - this.gridster.margins[0]) + 'px');

This will block gridster container height:

this.maxRows - maxHeight > 0 ? Math.min(this.maxRows, maxHeight) : Math.max(this.maxRows, maxHeight);

It would be nice to move these constants into the configuration:

/** @function ResizeHandle */
minTop = 0,
maxTop = 9999,
minLeft = 0;

/** @function getBoundingBox */
var maxRow = 0;
var maxCol = 0;
var minRow = 9999;
var minCol = 9999;

We are waiting for the solution of this issue, we use your library on one and old projects.
Thank you in advance.

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

1 participant