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

clarification on nesting containers. #36

Open
andreElrico opened this issue Apr 14, 2020 · 0 comments
Open

clarification on nesting containers. #36

andreElrico opened this issue Apr 14, 2020 · 0 comments

Comments

@andreElrico
Copy link

Could you elaborate slightly on the librarys behavior on nested grids.

https://stackblitz.com/edit/css-grid-animation-fmgt5r?file=src/app/app.component.ts

lets say we have

gridcontainer1
    child1
    child2
    nestChild3
        gridcontainer2
            baby1
            baby2

Is the follwing true?

when I use wrapGrid(gridcontainer1);

auto-transitions (class toggle) and calling forceGridAnimation() will ONLY apply to child1, child2, nestChild3.

Stuff happening inside of nestChild3, (eg. gridcontainer2, baby1, baby2) will not be picked up by wrapGrid(gridcontainer1);

In order to get animations for gridcontainer2 I will have to instatiate wrapGrid(gridcontainer2); to deal with that?

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