Skip to content

Added new option (minHeight) to have a different height to width #9

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

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

Conversation

wayferer
Copy link

Hi there,

We had a requirement for the box height to be different to the box width so I have made some changes (new option of 'minHeight') and while it seems to be working (IE8+, Chrome, Firefox) with 'resizeToFit: false' I would love some feedback and help to get it working with 'resizeToFit: true' if possible (or maybe this defeats the purpose?).

Thanks!

@Thumbleweed
Copy link

Hi There!

I used your branch, because i really needed to have a min height property.
It works as expected, although i had to comment the if case on r. 496 out.

It trew an error on resizing. Since i wrote a custom responsive behavior for my project, it was not an issue commenting this one out.

Regards

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.

2 participants