Skip to content

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

@KerVitarLaeda

Description

@KerVitarLaeda

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions