Xamarin.forms: [Bug] [Shapes 4.8-pre2] Justice for baby elephant!

Created on 24 Jul 2020  路  1Comment  路  Source: xamarin/Xamarin.Forms

Description

I've just updated my Shapes demos sample from 4.7 to 4.8-pre2, in order to try Shapes with Brushes. As a result, Shapes that don't set the Stroke are now defaulting to a black stroke. This seems to be a result of changing the Stroke and Fill properties to be of type Brush, which defaults to Color.Default? To me, it seems like a better user experience is for users to opt into a Stroke colour, rather than having to opt out of the black outline.

Steps to Reproduce

  1. Run the attached sample
  2. Browse to the baby elephant page.

Expected Behavior

Baby elephant looks correct (no black stroke).

Actual Behavior

Baby elephant looks incorrect due to black stroke on each Path object.

Basic Information

  • Version with issue: 4.8-pre2
  • Last known good version: 4.7
  • IDE: VSMac 8.6.7
  • Platform Target Frameworks:

    • iOS: 13.6

    • Android: API 28

Screenshots

Baby elephant in 4.7:

Simulator Screen Shot - iPhone 11 - 2020-07-24 at 15 15 39

Baby elephant in 4.8-pre2:

Simulator Screen Shot - iPhone 11 - 2020-07-24 at 10 27 56

Reproduction Link

ShapesDemos.zip

brushes shapes 2 bug

Most helpful comment

you won the 'best issue title' award

>All comments

you won the 'best issue title' award

Was this page helpful?
0 / 5 - 0 ratings