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

onClick catch focus and will not let me scroll #28

Open
droididan opened this issue Jan 18, 2017 · 5 comments
Open

onClick catch focus and will not let me scroll #28

droididan opened this issue Jan 18, 2017 · 5 comments

Comments

@droididan
Copy link

Hello,

When I implement OnClick on item in the list inside the search fragment I cant scroll.
do you know why?

@sahildave
Copy link
Owner

Hi,

Have you tried the demo activities in the app? There are examples with Scrollview, RecyclerView to fix this issue.

@ShankyPatel
Copy link

Hey,
Even i am getting same issue. Keeping recyclerview focusable as true is not working even.

@pinsoneatra
Copy link

Hello,

When I implement OnClick on item in the list inside the search fragment I cant scroll.
do you know why?

i see problem come from searchlayout put inside appbar, if you can fixed it please alert me.
thanks for it. and also, if owner really want to share project, please make it, use able

@pinsoneatra
Copy link

i think this project is fail

@Ali72
Copy link

Ali72 commented Mar 14, 2019

Hey,
Even i am getting same issue. Keeping recyclerview focusable as true is not working even.

for this problem add this to your code :

rv_search.addOnItemTouchListener(new RecyclerView.OnItemTouchListener() {
@OverRide
public boolean onInterceptTouchEvent(@nonnull RecyclerView rv, @nonnull MotionEvent e) {
rv.getParent().requestDisallowInterceptTouchEvent(true);
return false;
}
@OverRide
public void onTouchEvent(@nonnull RecyclerView rv, @nonnull MotionEvent e) {
}
@OverRide
public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) {
}
});

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

5 participants