Transition page error

Ok the bug come when i use the attribute autofocus.

And thanks to @mhartington for this post :