Popup when swipe back will display blank page

swipe back animate don’t finished, open a popup page, the swipe back page will blank, I must set a global var in pageBeforeOut and pageAfterOut,to lock the popup, do you have any best way?

Do you have any solution for this ?
It’s happen to me when I have 3 lv of link with the 1st page I’m using page.router.clearPreviousHistory();

i use global var to lock the swiper back ,
when popup open , check the var is finlished , if not filished setTimeout 100ms to try again.

I enable stackpage for 5 history pages then I work fine :slight_smile:

view: {
stackPages: true,
},