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

Wrong height calculation with box-sizing:border-box #14

Open
KerVitarLaeda opened this issue May 30, 2016 · 0 comments
Open

Wrong height calculation with box-sizing:border-box #14

KerVitarLaeda opened this issue May 30, 2016 · 0 comments

Comments

@KerVitarLaeda
Copy link

When element have 'box-sizing' set to border-box this code works wrong:
angular-vertilize.js:92

// Watch for tallest height change
scope.$watch(parent.getTallestHeight, function (tallestHeight) {
    if (tallestHeight) {
        element.css('height', tallestHeight);
    }
});

It is necessary to set the height through jQuery hight() to take into account this nuance:
element.height(tallestHeight);

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