xamarin/Xamarin.Forms
[Bug, Core] incorrect reset CornerRadius of Button
Aperta
#6731 aperta il 1 lug 2019
4.0.0e/3 :clock3:help wantedi/regressioninactivet/bug :bug:up-for-grabs
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Description
When resetting of CornerRadius first time it sets radius value 5. Second reset sets radius to -1.
Steps to Reproduce
- ControlGallery
- Dynamic ViewGallery
- Control: Button
- Set
CornerRadius - Reset
CornerRadius - 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.