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

Ui-Router without explicitly set z dimension reorders after transition #370

Open
rknell opened this issue May 12, 2015 · 0 comments
Open

Comments

@rknell
Copy link

rknell commented May 12, 2015

Hi Everyone,

Ok so if you are using ui-router and have a page setup like so:

<fa-modifier>
<fa-surface fa-background="'black'"></fa-surface>
<fa-surface fa-background="'purple'"></fa-surface>
</fa-modifier>

The first time the page loads it will be purple, but after a transition it will be black. If you do this however:

<fa-modifier fa-transform="[0,0,-1]">
<fa-surface fa-background="'black'"></fa-surface>
</fa-modifier>

<fa-modifier fa-transform="[0,0,0]">
<fa-surface fa-background="'purple'"></fa-surface>
</fa-modifier>

It works fine. Figuring that order matters in famous, I figured it was a bug worth sharing (with the easy work around if anyone else gets stuck)

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