Skip to content
New issue

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

Use PanResponder all Scene in router-flux #2947

Closed
Donhv opened this issue Mar 19, 2018 · 2 comments
Closed

Use PanResponder all Scene in router-flux #2947

Donhv opened this issue Mar 19, 2018 · 2 comments

Comments

@Donhv
Copy link

Donhv commented Mar 19, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported)

I want when user inactivity 30s my app show alert in all screen in my app. I don't know where to put:
{...this._panResponder.panHandlers}.
My router:

          <Scene key="root" hideNavBar={true} >
            <Scene key="Basic" initial={true} component={Basic} title="Basic"
            />
            <Scene key="Video" component={Video} hideNavBar={true} title="Video"
            />
            <Scene key="About" component={MyWeb} title="WebView"
            />
            <Scene key="Surbey" component={Surbey} title="Surbey"
            />
            <Scene key="Setting" component={Setting} title="Setting"
            />
          </Scene>
        </Router>


I try put {...this._panResponder.panHandlers} and 
panHandlers={{ ...this._panResponder.panHandlers } }
in <scene root but it not work. Any one can help me.
@XHTeng
Copy link

XHTeng commented Mar 20, 2018

+1

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Sorry, it is not supported

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants