ptomasroos / react-native-tab-navigator

A tab bar that switches between scenes, written in JS for cross-platform support
MIT License
2.4k stars 415 forks source link

Allow child views to be updated as they are deselected #54

Closed mosesoak closed 6 years ago

mosesoak commented 8 years ago

Currently it's impossible to pass selected down to child views because the static container blocks their updates unless selected, so they never know when selected changes to false.

The change here allows the child to get one final update as it is deselected, then continues to block updates until it's selected again.

greghe commented 8 years ago

👍

ptomasroos commented 7 years ago

I think this sounds reasonable @mosesoak, still need the merge?

ptomasroos commented 6 years ago

Will close since this issue is more than a year, feel free to a open a new if this is still a issue.