n4kz / react-native-material-dropdown

Material dropdown with consistent behaviour on iOS and Android
Other
734 stars 598 forks source link

Dropdown is too slow #97

Open GeekLabVK opened 6 years ago

GeekLabVK commented 6 years ago

When I have much data about 100+ elements dropdown is showing too long, about 4-5sec. Any ideas how can I speed up dropdown initial showing?

Gustash commented 6 years ago

Same problem here. I'm loading a JSON array with 250+ objects. It's really slow and on low-end Android phones it crashes with a java.io.EOFException

eggybot commented 6 years ago

can we disable the animation to improve speed when dropdown has 100+ items?

azwar commented 6 years ago

Yeah this is really slow. Any solution?

ccdwyer commented 6 years ago

I don't know if a dropdown is a good option for a scenario when you have hundreds of items to select from. I implemented a 'picker' because it's something that is familiar to users of the software my app talks to, for dealing with essentially dropdowns with hundreds of potential items:

https://gph.is/2HH6ca8

halaharr commented 6 years ago

It is slow in android even with 2 elements. Is there a way to disable animation?

peacelovesapples commented 6 years ago

Yes, very slow. Not practical. Wish it was, I like the functionality.

C0dekid commented 6 years ago

+1, removed the package because it's too slow. Even with the example data of 3 items.

sijad commented 6 years ago

please check out https://github.com/sijad/react-native-material-dropdown/tree/optimized

vgvishal538 commented 6 years ago

set animationDuration= {0}

harshitjee commented 6 years ago

guys i hv improved the slowness issue please check https://github.com/harshitjee/react-native-material-dropdown.git use npm install https://github.com/harshitjee/react-native-material-dropdown.git and give me yr feedback and if you need any paid help or development in react native or core android please reach me at harshit.agrawal2021@gmail.com

kjs104901 commented 6 years ago

guys i hv improved the slowness issue please check https://github.com/harshitjee/react-native-material-dropdown.git use npm install https://github.com/harshitjee/react-native-material-dropdown.git and give me yr feedback

Awesome! It works even on very old Android devices. You saved my hours.

sanketkumbhare commented 6 years ago

use "npm install https://github.com/harshitjee/react-native-material-dropdown.git " instead of npm install --save react-native-material-dropdown thanks it really works.....

Hummingbirditsircles commented 6 years ago

Honestly, "npm install https://github.com/harshitjee/react-native-material-dropdown.git " Worked for me too.

Digant312 commented 5 years ago

"npm install https://github.com/harshitjee/react-native-material-dropdown.git " working. Thanks man..!

paulupendo commented 5 years ago

Wow this is amazing thanks @harshitjee

luan-nvg commented 3 years ago

guys i hv improved the slowness issue please check https://github.com/harshitjee/react-native-material-dropdown.git use npm install https://github.com/harshitjee/react-native-material-dropdown.git and give me yr feedback and if you need any paid help or development in react native or core android please reach me at harshit.agrawal2021@gmail.com

TypeError: Cannot read property 'style' of undefined
newer verses of the native react 0.63 and 0.64 does not work - 2020