Skip to content

Unable to compute height of row #38

@ittayd

Description

@ittayd

I use the directive with a div. The div renders fine, but with the subject's error, which I guess means the directive doesn't really work. Looking at the code:
425 newElements = addElements(newValue.start, oldEnd, ident.collection, scope, iterStartElement);
426 rendered = newElements;
427 if( rendered.length ){
428 rowHeight = computeRowHeight(newElements[0][0]);
429 }

I'm wondering (not really knowing) if the height properties should be updated after adding the elements given that javascript is single threaded. Maybe the call to computeRowHeight should be in $timeout()?

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