-
Notifications
You must be signed in to change notification settings - Fork 5
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
Breaking app #2
Comments
There is still some weirdness happening when changing routes.. seems to apply the wrong transition sometimes.. i'll look into it real quick |
Alright back to normal again :) |
Thanks for the quick response. I updated and it fixed the errors. Unfortunately I'm having some trouble implementing in my app, but I'm guessing it's just confusion on my part. Is it possible to use this between different flow layouts? Or does it have to be the same layout? |
Yes switching layouts is a problem, since the html nodes that change are not wrapped inside the momentum helper anymore.. |
So I did some research and it turns out, that momentum uses Meteors _uihooks in order to perform animations once a DOM node gets inserted. These uihooks only work for nodes, that get manipulated by Blaze, not nodes that you insert manually using jQuery or normal javascript. This is problematic since FlowLayout uses jQuery to render a new Layout to the DOM. And this is probably what would need to change in order to get this working... |
worked on the flow-layout package and got it working: |
Hey, would you mind sharing the code for |
The Code is here: https://github.com/PhilippSpo/momentum-flow-router-demo/tree/flow-layout-transitions |
Hi Philipp, your demo looks great. I just ported to Flow Router today and love it so far. Unfortunately, when I add this package it immediately breaks my app, before I even try to implement anything. Any idea what I might be missing?
The text was updated successfully, but these errors were encountered: