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

DraggableDrawer canChildScrollHorizontally()/canChildScrollVertically() do not consider child scroll #166

Open
venator85 opened this issue Jul 15, 2013 · 0 comments

Comments

@venator85
Copy link

Hi, I noticed that DraggableDrawer canChildScrollHorizontally()/canChildScrollVertically() methods do not consider children scroll when they are in a ScrollView/HorizontalScrollView. I have a left sliding drawer:

mDrawer = MenuDrawer.attach(this, MenuDrawer.Type.BEHIND, Position.LEFT, MenuDrawer.MENU_DRAG_CONTENT);
mDrawer.setTouchMode(MenuDrawer.TOUCH_MODE_FULLSCREEN);

with a ScrollView containing a bunch of Views as the content view, for one of which I want to perform custom handling of draggability via a MenuDrawer.OnInterceptMoveEventListener. When the scrollview is fully scrolled up (beginning of screen), the view that is passed to the listener is the correct one, but if I scroll down, the view passed to the listener is still the previous one, and not the view currently touched.
Thanks
Alessio

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

1 participant