PeterStaev / NativeScript-Drop-Down

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

Performance Issue with FlexboxLayout #223

Closed dothem1337 closed 4 years ago

dothem1337 commented 5 years ago

Hi there

I encountered a performance problem, when using the DropDown into FlexboxLayout. Anyone else encountering this?

I'm using Nativescript with Angular. If I put the DropDown outside of the FlexboxLayout, the DropDown opens immediately. If not, it's very slow and slows down the whole page (also TextFields are slow).

PeterStaev commented 5 years ago

Hi @dothem1337 , you say that TextFields are also slow, which is a built in control, so it might be something related to the way you use the flexbox or some problem with the framework itself. Have you submitted an issue on the NativeScript repo?

dothem1337 commented 5 years ago

The TextFields are only slow, if there is a DropDown available. Otherwise they are fast. So its depending on DropDown. Because it slows everything down, when its there.

PeterStaev commented 5 years ago

On what OS is this? I've just created a playground and at least on iOS I don't notice any slows: https://play.nativescript.org/?template=play-ng&id=L3lXZ5&v=2

PeterStaev commented 4 years ago

No further response so closing this one for now. In case you still have problems, please provide more details.