Fix issue causing black squares on bottom sheet rotation
MODIFY
components/BottomSheet/src/private/MDCDraggableView.m
components/BottomSheet/src/private/MDCDraggableView.m
@@ -41,6 +41,8 @@ static void CancelGestureRecognizer(UIGestureRecognizer *gesture) {
_dragRecognizer.maximumNumberOfTouches = 1;
_dragRecognizer.delegate = self;
[self addGestureRecognizer:_dragRecognizer];
+
+ self.clipsToBounds = YES;
}
return self;
}

Fix issue causing black squares on bottom sheet rotation (#3630)