xamarin/Xamarin.Forms

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

Aberta

#3.885 aberto em 24 de set. de 2018

 (8 comentários) (4 reações) (0 responsável)C# (1.926 forks)batch import
e/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador