@sdcx/bottom-sheet 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -170,7 +170,7 @@ public class BottomSheet extends ReactViewGroup implements NestedScrollingParent
|
|
|
170
170
|
@VisibleForTesting
|
|
171
171
|
View findScrollingChild(View view) {
|
|
172
172
|
if (ViewCompat.isNestedScrollingEnabled(view)) {
|
|
173
|
-
if (!view.canScrollHorizontally(1) && !view.canScrollHorizontally(-1)) {
|
|
173
|
+
if (!view.canScrollHorizontally(1) && !view.canScrollHorizontally(-1) && (view.canScrollVertically(-1) || view.canScrollVertically(1))) {
|
|
174
174
|
return view;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -187,6 +187,7 @@ public class BottomSheet extends ReactViewGroup implements NestedScrollingParent
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
+
|
|
190
191
|
return null;
|
|
191
192
|
}
|
|
192
193
|
|