Skip to content

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

Description

@rknell

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions