xamarin/Xamarin.Forms

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

Ouverte

#3 885 ouverte le 24 sept. 2018

 (8 commentaires) (4 réactions) (0 personne assignée)C# (1 926 forks)batch import
e/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur