mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-18 00:47:39 +00:00
Fix for untouchable area
This commit is contained in:
@@ -44,7 +44,8 @@ public class CustomBottomSheetBehavior extends BottomSheetBehavior<FrameLayout>
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Don't need to do anything if bottomSheet isn't expanded
|
// Don't need to do anything if bottomSheet isn't expanded
|
||||||
if (getState() == BottomSheetBehavior.STATE_EXPANDED) {
|
if (getState() == BottomSheetBehavior.STATE_EXPANDED
|
||||||
|
&& event.getAction() == MotionEvent.ACTION_DOWN) {
|
||||||
// Without overriding scrolling will not work when user touches these elements
|
// Without overriding scrolling will not work when user touches these elements
|
||||||
for (final Integer element : skipInterceptionOfElements) {
|
for (final Integer element : skipInterceptionOfElements) {
|
||||||
final ViewGroup viewGroup = child.findViewById(element);
|
final ViewGroup viewGroup = child.findViewById(element);
|
||||||
|
Reference in New Issue
Block a user