xamarin/Xamarin.Forms

Stacklayout in frame "bleeds" outside of frame's rounded corners in iOS

Aperta

#2405 aperta il 9 apr 2018

 (15 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:help wantedm/high impact :black_large_square:p/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When a stacklayout with a background color is put at the top inside a frame with rounded corners, the edges of the stacklayout "bleed" outside of the rounded corners of the frame. This happens in iOS, not on android, where the behavior is correct.

Steps to Reproduce

  1. Open the test project

  2. Build the project and deploy on ios and android

  3. note the difference

Expected Behavior

Stacklayout corners should not bleed outside of the frame

Actual Behavior

Stacklayout corners bleed outside of the frame

Basic Information

  • Version with issue:
  • Last known good version: ?
  • IDE: Visual studio 2017
  • Platform Target Frameworks:
    • iOS: any
  • Nuget Packages: -

Screenshots

Android: screenshot_20180409-115043-0

iOS: ios

Reproduction Link

FrameBleed.zip

Guida contributor