PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Invisible labels #90

Closed eleddie closed 7 years ago

eleddie commented 7 years ago

Hi, I'm getting an rare behavior when I programmatically change the index of the dropdown.

The dropdown has these values

screen shot 2017-04-26 at 10 49 07 pm

But when I change the index (It's a master details view, so when I tap on an item in the left list, the values on the right panel get updated) the value of the dropdown changes without problem, but when I tap on the dropdown to show the values again, it looks like this:

screen shot 2017-04-26 at 10 49 18 pm

Any ideas?

PeterStaev commented 7 years ago

This has been reported by someone else as well, but there seems problem was with null values. Can you provide some reproducible demo project? Also can you try if you see the same problem with the 3.0 RC version?

mcrvaz commented 7 years ago

I'm having a similar issue, the selected element is always invisible. Also, the drop-down size is too small, I had to add some padding to it. Here is the example: item-detail.component.html
item-detail.component.ts

Image preview

celsomtrindade commented 7 years ago

Running into the same issue. Some times the labels reapear after selecting a random option. Sometimes it stays blank. Sometimes I even see an extra blank option, for example, if I have 5 options, I see those 5 options but with a big space in between like a blank option addedd.

PeterStaev commented 7 years ago

The fix will be available in the 3.1 version.