Open robertkibet opened 3 years ago
Hello, Thank you for your kind comment.
It may take a week to get rid of the dependency. Please modify the package to make it work for now, The release of the standalone version will be announced soon.
Hi @hossein-zare, thank you so much, that will be super awesome. :muscle: If its okay I can do a PR for this update :checkered_flag:
Why not?! You can submit your PR, The default icons should be PNG. 😁
Hi there, I saw that it worked with RNW, but the right icon doesnt display as expected, do you have any advice? I used react-native-dropdown-picker 4.0.6 btw
@hungvu193 Install https://github.com/oblador/react-native-vector-icons
Does version 5 also work with web? Version 4 worked kinda right our of the box. With version 5 I now see that the styles are not shown. You can simply check this in the expo example:
I am using it on the web and I have noticed similar behavior with modal mode - I haven't tracked it down yet personally
Is your feature request related to a problem? Please describe. Yes, I am wondering if this is react native web enabled by default? is it currently RNW capable. I am super curious. Is there an example of this?
Describe the solution you'd like First, The current implementation is amazing, kudos to the team :clap: . On my end, I am trying to get this awesome picker running with storybook, meaning I am setting up a component based approach to enable re-usability across devices including web. :smile:
Secondly, do we need the icons as a dependency? Ref: https://github.com/hossein-zare/react-native-dropdown-picker/blob/4.x/src/index.js#L17 It would be amazing if we just have it as a prop and have the users determine their own icons to send in :100: and possibly remove vector icons dependency? :stuck_out_tongue:
Describe alternatives you've considered I would say this is currently the best option for me, but currently I am not sure if this is RNW ready. Inspiration comes from necolas https://necolas.github.io/react-native-web/docs/picker/
I am currently facing this error with my storybook:
FYI: I can get the setup to run if I comment out Feather Icons import and send in my custom Icon, but this is not effective because I'll need to get updates from this package :smile:
any thoughts, examples or pointers to getting this in place will be welcomed. Thanks :+1: