xamarin/Xamarin.Forms

Slider overwrites value when attributes in wrong order

Aperta

#3521 aperta il 9 ago 2018

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/7 :clock7:help wantedinactivet/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

Description

Slider overwrites the provided value when Xaml attributes in wrong order.

Steps to Reproduce

  1. Add a Slider to your Xaml with Value attribute followed by Maximum and/or Minimum attribute.
  2. Provided value will be ignored, 1 will be used as default value.

Expected Behavior

Provided value is used, regardless of order of attributes.

Actual Behavior

Provided value is overwritten with 1.

Basic Information

  • Version with issue: 3.1.0.697729
  • Last known good version: -
  • IDE: Visual Studio for Mac
  • Platform Target Frameworks:
    • iOS: 11.4
    • Android: 8.1
    • UWP: -
  • Android Support Library Version: 27.0.2.1
  • Nuget Packages: Xamarin.Forms 3.1.0.697729
  • Affected Devices: reproduced on iPhone X and Samsung Galaxy S6

Reproduction Link

SliderIssue.zip

Guida contributor