ex-navigation icon indicating copy to clipboard operation
ex-navigation copied to clipboard

duplicate tab bars displaying after app has been backgrounded

Open ajonno opened this issue 8 years ago • 2 comments
trafficstars

We're seeing duplicate tab bars appear after the app has been backgrounded for a while.

During app start, then normal use, there are no duplicate tab bar situations. However once a user backgrounds the app for a while, then opens it back up - there are 2

Has anyone seen this before and resolved ? Or if not any ideas where we should be looking ? It's a weird bug so we're just looking for any help/advice. Many thanks.

image

ajonno avatar Apr 01 '17 01:04 ajonno

Do you have any handlers for AppState? I suspect that you are pushing new routes/tabs or something when AppState is active.

chirag04 avatar Apr 01 '17 15:04 chirag04

Thanks chirag04, yes but there's no pushing of routes/tabs at all. Actually I've just got a console log in there to try and help diagnose this issue.

Question- why might pushing (.push) a route create a whole new tab bar on top of the existing tab bar? Just trying understand under what circumstances ex navigation will do this?

ajonno avatar Apr 01 '17 21:04 ajonno