OnHashChange not fired

I have set up a procedure and assigned it to Application.OnHashChange. However, if I click the back button and the hash changes it doesn't get fired.

Any suggestions?

Is Application.AutoFormRoute = true?

no, but I have sorted this now using popState.