xamarin/Xamarin.Forms

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

Aperta

#3885 aperta il 24 set 2018

 (8 commenti) (4 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

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

Guida contributor