NativeScript/Angular list-picker has black background above and below selected item. Why?


#1

Capture

Screenshot above. How can I fix fix the black background above and below selected item? It sort of looks like perhaps styles are not being applied.

Here’s my code:

<ListPicker #picker class="picker" [items]="viewData.phoneTypes" [selectedIndex]="selectedIndex" verticalAlignment="center" horizontalAlignment="center" (selectedIndexChange)="selectedIndexChanged(picker)"></ListPicker>

Help appreciated! Thanks!