I found this helped solve an issue I came across

When I implemented this in my project, the first "back" transition worked as expected but subsequent pushes / pops did not. When I added the super calls, everything worked.