- ClipChildren clipping mode uses stencil buffer.
- But, scrollableBase is always pretended as rectangular shape so we can change it to ClipToBoundingBox that uses scissor.
- Usually, Scissor is better than stencil buffer for the performance.
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
mPanGestureDetector.AddDirection(PanGestureDetector.DirectionVertical);
mPanGestureDetector.Detected += OnPanGestureDetected;
mPanGestureDetector.AddDirection(PanGestureDetector.DirectionVertical);
mPanGestureDetector.Detected += OnPanGestureDetected;
- ClippingMode = ClippingModeType.ClipChildren;
+ ClippingMode = ClippingModeType.ClipToBoundingBox;
//Default Scrolling child
ContentContainer = new View()
//Default Scrolling child
ContentContainer = new View()