[Solved] clearPreviousHistory() with Tabs Makes App Freeze

Hi All,

I am using the new method clearPreviousHistory() on Tab Init,

If I open another page then press back button , Tab Page opens but app is stuck nothing would become clickable, Please advise.

This is the scenario:

1- Open tab page
2- Open another page from current tab page
3- Press back button
4- Tab:init will trigger with : clearPreviousHistory()
5- App is stuck (Nothing becomes clickable)

Thanks in advance!

Well, that is a not good usage. Better call clearPreviousHistory() within a pageAfterIn event of the containing page

1 Like

Working like charm! Thanks Vladimir!

You are totally a life saver!