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

Not working with click listeners #68

Open
moisoni97 opened this issue Aug 1, 2019 · 4 comments
Open

Not working with click listeners #68

moisoni97 opened this issue Aug 1, 2019 · 4 comments

Comments

@moisoni97
Copy link

In ScrollView if you drag from an item with click listener attached it won't work.

@ForgetAll
Copy link

I have the same problem, I think it is better to over scroll the view when I just want to drag the ScrollView.

@moisoni97
Copy link
Author

Duplicate of #25
Use nested scroll view.

@moisoni97
Copy link
Author

moisoni97 commented May 3, 2020

Actually NestedScrollView didn't solve this problem.
Bounce on ScrollView doesn't work if you try to drag from a view that has onClickListener attached to it. A strange thing I've noticed is that in Landscape Mode works normally, even with views with onClickListeners.

Does anyone know a workaround?

@moisoni97 moisoni97 reopened this May 3, 2020
@moisoni97
Copy link
Author

Ok. The problem appears when there are not enough items in ScrollView to fill the entire visible layout (it depends on the phone screen size), so technically the ScrollView isn't scrollable because you don't have what to scroll. This is why it works in landscape mode because the screen height is smaller and items are filling the entire layout and beyond.

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

2 participants