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

[BottomSheetBehavior] Nested scrolling child view does not scroll when its inside nested scrolling parent #3377

Open
UdaraWanasinghe opened this issue May 5, 2023 · 0 comments

Comments

@UdaraWanasinghe
Copy link

Description: When a nested scrolling child view is inside a nested scrolling parent view and the child view changes the scroll position, the touch events get intercepted by the bottom sheet behavior. For example, if I put a ViewPager2 in the bottom sheet dialog and put a vertically scrollable RecyclerView inside the ViewPager2, and navigate to the second page, the RecyclerView becomes unscrollable.

Expected behavior: Nested scrolling child view must be scrollable and should not be intercepted by bottom sheet behavior.

Minimal sample app repro: https://github.com/UdaraWanasinghe/bottom-sheet-nested-scrolling-test

Android API version: All affected.

Material Library version: 1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants