Comments (8)
We implemented this on iOS (kind of) using about 10 lines of code, see branch here: https://github.com/3sidedcube/react-native-navigation/tree/feature/view_lifecycle
from react-native-navigation.
Done, N-Joy!
from react-native-navigation.
It's actually been implemented on Android for quit some time, and wasn't implemented on iOS due to time constraints.
class FirstTabScreen extends Component {
...
onNavigatorEvent(event) {
if (event.id === 'tabSelected') {
// Handle tab selected
}
}
}
from react-native-navigation.
I am working on iOS and would really like the feature to be available on iOS as well. Thanks a lot!
from react-native-navigation.
@simonmitchell Will it accept as official release?
from react-native-navigation.
Thanks a lot guys!
Please place a pull request. It will helps us to review your changes.
from react-native-navigation.
Have any plan for adding this feature? Great Thanks ! @guyca
from react-native-navigation.
Awesome!
from react-native-navigation.
Related Issues (20)
- Text in bottom bar is cut off in ipad HOT 1
- RN 0.73 Support HOT 1
- RightButtons jumps on Android HOT 2
- AppDelegate.m build error: "No visible @interface for 'RCTBundleURLProvider' ..."
- [Epic] React Native 73 Support HOT 3
- [RN73] Support for Android
- [RN73] Support for iOS HOT 35
- [RN73] Documentation alignment
- [RN73] Internal rollout
- [RN71-IOS] - Got a blank screen after setRoot()
- react-native 0.73.2 project getting com.appName.mainActivity can not be cast to com.reactnativenavigation.NavigationActivity HOT 9
- [Android | iOS] componentDidDisappear's performance is inconsistent in Android and iOS when App slides to background
- Event RNN.ComponentDidAppear called before render screen component when animations.showModal.enabled = false
- Header Style Shadows warnings can't be disabled
- Android - Left buttons are not in order
- Android Regression RN 0.73 - `onDropViewInstance` not called anymore, View not cleaned up
- Bottom tabs text is cut off on iPad HOT 6
- All bottom tab components load when a text input is pressed and the keyboard opens
- BottomTabs shows a top solid border when content is scrolled to the bottom edge on iOS 15 HOT 1
- Right-hand buttons flicker on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-navigation.