We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use Actions.pop() on the Lightbox Component. Lightbox Scene Disappears.
Click on Below Component:
class MovieListRightHeader extends Component { render() { return ( <TouchableOpacity onPress={() => { Actions.filterModal(); }}> <Text>Filter</Text> </TouchableOpacity> ); } }
Following Router gets used:
const RouterComponent = () => { return ( <Router navBar={NavBar} createReducer={reducerCreate} sceneStyle={{ backgroundColor: '#1d1d1d' }}> <Lightbox key="lightbox"> <Stack key="root"> <Scene key="movieList" component={MovieList} title="Movies" left={<MovieListLeftHeader />} right={<MovieListRightHeader />} initial /> </Stack> <Scene key="error" component={Error} /> <Scene key="filterModal" component={FilterModal} /> </Lightbox> </Router> ); };
Scene Displays as expected. Click on Close Button. App hangs and eventually closes.
export default class FilterModal extends Component { render() { return ( <Button onPress={() => Actions.pop()} title="Test Test Test" /> ); } }
Logs the moment I tap on the MovieListRightHeader button:
5:44:13 PM ACTION: Object { "params": Object { "cardStyle": Object { "backgroundColor": "#1d1d1d", }, "init": true, "navBar": [Function NavBar], "routeName": "filterModal", }, "routeName": "filterModal", "type": "REACT_NATIVE_ROUTER_FLUX_PUSH", } 5:44:13 PM ACTION: Object { "routeName": "movieList", "type": "REACT_NATIVE_ROUTER_FLUX_BLUR", } 5:44:13 PM ACTION: Object { "params": Object { "cardStyle": Object { "backgroundColor": "#1d1d1d", }, "init": true, "navBar": [Function NavBar], "routeName": "filterModal", }, "routeName": "filterModal", "type": "REACT_NATIVE_ROUTER_FLUX_FOCUS", }
The text was updated successfully, but these errors were encountered:
Turns out, using the createReducer function can cause some... Issues...
Sorry, something went wrong.
No branches or pull requests
Version
Expected behaviour
I use Actions.pop() on the Lightbox Component.
Lightbox Scene Disappears.
Actual behaviour
Click on Below Component:
Following Router gets used:
Scene Displays as expected.
Click on Close Button.
App hangs and eventually closes.
Logs the moment I tap on the MovieListRightHeader button:
NOTE: I've tried simply navigating instead to any page, even one I just created and it hangs.
The text was updated successfully, but these errors were encountered: