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

When the center window contains a scrollView (which might contain a view with a swipe event) #1

Closed
kosso opened this issue Sep 16, 2013 · 4 comments

Comments

@kosso
Copy link

kosso commented Sep 16, 2013

Any idea how to stop it 'stealing' the swipe event from a view in a scrollView container?
Or is that an issue with swipeable views in a scrollView?

See test app.js here : https://gist.github.com/kosso/6584687

@viezel
Copy link
Owner

viezel commented Sep 16, 2013

Have you played with open/close gesture modes. You can disable it.

@kosso
Copy link
Author

kosso commented Sep 16, 2013

@viezel I haven't yet, but how would that work if I want the left menu to work as expected, but have the centre window contain something like a tableview or scrollView which itself needs to respond to a swipe (left) event to open a new window? (or do something else)

I seem to be able to fire the swipe event on the blue test view in my example, but not all the time. I don't know if it's the scrollView or the NappDrawer (excellent work by the way) doing it.

This is an issue I've found with every draggable menu/drawer implementation I've tried so far.

@viezel
Copy link
Owner

viezel commented Sep 17, 2013

again :) Have a play with it. Some people have disabled gesture mode, but enables them the drawer is opened.

@chrisribe
Copy link

Errg how would you disable the gesture mode to avoid this conflict ?

mainWindow.setOpenDrawerGestureMode(NappDrawerModule.OPEN_MODE_NONE) ?
mainWindow.setCloseDrawerGestureMode(NappDrawerModule.CLOSE_MODE_NONE) ?
or
mainWindow.setCenterHiddenInteractionMode(NappDrawerModule.OPEN_CENTER_MODE_NONE) ?

Thanks
Chris

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