xamarin/Xamarin.Forms

[Bug, Core] incorrect reset CornerRadius of Button

オープン

#6,731 opened on 2019/07/01

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
4.0.0e/3 :clock3:help wantedi/regressioninactivet/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

When resetting of CornerRadius first time it sets radius value 5. Second reset sets radius to -1.

Steps to Reproduce

  1. ControlGallery
  2. Dynamic ViewGallery
  3. Control: Button
  4. Set CornerRadius
  5. Reset CornerRadius
  6. Again reset CornerRadius

Expected Behavior

The reset value should not depend on its current value.

Actual Behavior

First reset of CornerRadius sets corner radius to 5. Second reset of CornerRadius removes radius.

コントリビューターガイド