Closed VukMNE closed 4 years ago
Hey @VukMNE , I cannot simulate this on my end. May be the problem has something to do with your translate
pipe. I suggest you try to remove the pipe and see if that will fix the problem. Also the drop down doesn't change anything outside it's visual element, so I do not see a way this problem to be caused by the widget.
Hey @VukMNE , I cannot simulate this on my end. May be the problem has something to do with your
translate
pipe. I suggest you try to remove the pipe and see if that will fix the problem. Also the drop down doesn't change anything outside it's visual element, so I do not see a way this problem to be caused by the widget.
The problem is I was using the class called label here, which was causing this weird behavior:
<Label class="label" [text]="'language' | translate"></Label>
After I removed the class, this bug didn't happen again...
First of all, Peter, I want to thank you for making this NativeScript plug-in. I was looking for a nativescript plugin that works as a Spinner widget on Android, and this one works very well.
However, I came across this weird behaviour. For some reason, label element that I have placed above dropdown, disappears after opening the dropdown. I will provide the code that I am using, and I would be very happy if you could tell me if something needs to be corrected.
Here are the screenshots of the issue:
Image #1 (Label "Language" is displayed above Dropdown, as it should)
Image #2 (Label becomes invisible)
And here is the code that I am using:
component.html
component.ts