Skip to content

NumberPickerCell's picker gets out of sync when closed while spinning #96

Open
@paya-cz

Description

@paya-cz

Description + Steps to reproduce

Open a picker for a NumberPickerCell where Min=1 and Max=300. Spin the picker by a single strong drag motion. While it's still spinning, close the picker by tapping the "Done" button. The cell's value does not get updated. But if you open the picker again, you should notice a number got selected by the picker, because the picker selected a number that was highlighted when you tapped the "Done" button.

Thus, the cell shows some value, and when you click the cell to open a picker, another value will be selected by the picker.

Expected Behavior

The cell's value should update to the one selected by the picker.

Actual Behavior

The cell's value is not updated when you click "Done" while the picker is still spinning.

Platforms

Not tested on Android.

  • Android
  • iOS

Basic Information

  • AiForms.SettingsView 1.1.4-pre
  • Xamarin.Forms 4.5.0.617
  • Affected Devices: iOS

Workaround

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions