Xamarin forms Picker select the wrong value on Done. (this is not about speed as in other reported bugs).
On iOS device/simulator
There are 2 scenarios to reproduce this issue, both are based on bad index being selected.
Steps: (use Picker Demo https://developer.xamarin.com/samples/xamarin-forms/UserInterface/PickerDemo/)
Scenario 1:
Scenario 2:
should select item
selecting the wrong item or defaulting to wrong item on next selection
Platform Target Frameworks:
Nuget Packages: Only forms in PickerDemo
Affected Devices:
Solution: Restart your emulator, removed the app and built again (wasted so much time, hope this helps others)
Question: Why did it happen? Is it an iOS emulator issue or a Xamarin issue?
I'd say an emulator issue
The same is happening with me, on different emulators, but the more weird is that is also happening when I run the test on app center. Any suggestion, please?
I already tried to restart the emulator, remove the app and do a new build
I found the problem for my case. On date pick I need to use a conversion to localtime, as me and apparently app center too are on a different timezone
Most helpful comment
Solution: Restart your emulator, removed the app and built again (wasted so much time, hope this helps others)
Question: Why did it happen? Is it an iOS emulator issue or a Xamarin issue?