xamarin/Xamarin.Forms

Picker control doesn't highlight the user selected item on Android

Open

#3,885 opened on Sep 24, 2018

 (8 comments) (4 reactions) (0 assignees)C# (1,926 forks)batch import
e/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

The Picker object doesn't highlight the user selected item on Android when it popup the list of items. This is mainly important when you have a large list of items.

Steps to Reproduce

  1. Add a picker to your main screen
  2. Fill-in the picker with 100 items (I used integers from 1 to 99)
  3. Start the demo project
  4. Select number "50" for example
  5. If you click once again on the picker, it will show the content starting from 1 instead of center the list on "50"

Expected Behavior

Picker should purpose user selected item as default item when it pupups

Actual Behavior

It doesn't highlight any of the item

Basic Information

  • Version with issue: Xamarin.Forms all versions
  • Last known good version: none
  • IDE: VS 2017
  • Platform Target Frameworks:
    • Android: all versions
  • Affected Devices: All devices

Screenshots

On Android NOT OK: picker_android

On iOS OK: picker_ios

On UWP OK: picker_uwp

Reproduction Link

TestPicker.zip

Contributor guide