Pages with only one page showing transition emitter when swiped

Pages object with one page is showing transition emitter effect when swiped.

Ah... it was not the case. I had multiple pages objects, some off screen, and some had only one page. If I swiped on a pages object with only one page, it did not register the swipe which is good but the other pages object then registered the swipe and added the effect on the visible stage, even though the other page itself was moved temporarily off the stage. Noticed that when I went back to the previous pages object, the page had changed!

Yes - that was it. Solved it by setting any pages not showing as active = false then when I show them set active true. Probably, can look into preventing this from happening... I think the container was still on the stage so was receiving swipes... should turn off those events if the pages do not have a parent.

Okay - adjusted ZIM 016.

Yes... that fixed it. Now, I do not need to set active.

1 Like