Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to display Options List by default #238

Open
TheProgamererZ opened this issue Apr 25, 2024 · 0 comments
Open

[BUG] Unable to display Options List by default #238

TheProgamererZ opened this issue Apr 25, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@TheProgamererZ
Copy link

TheProgamererZ commented Apr 25, 2024

Hi all , needed some help. I am new here so apologies for any inconvenience.
I am using the React-Native-Select-Pro for my app. The default action of the module is that the optionsList is opened on clicking the drop-down icon on the Select Container.
But , I want to keep the Options List open by default , without having to click on the icon to open it. Tried the 'open' prop , but it only seems to fire functions when the optionsList is opened.

Any way to keep the Options List open by default , without having to click on the icon to open it?

Much Appreciated. Thanks!

  • OS: [iOS/Android]
  • React Native Version - '0.72.6'
  • @mobile-reality/react-native-select-pro version : '^2.2.3'
  • expo version : '49.0.21'
<Select
clearable={true}
searchable={true}  
options={list}
onSelect={(item) =\> setItem(item)}
placeholderText='Search Item'
styles={{
select:{
container:{
backgroundColor:”skyblue”  
}
},
option:{
container:{
backgroundColor:”green”,
},
text:{
fontSize:14,
}
},
optionsList:{
Padding:10
}
}} /\>
@TheProgamererZ TheProgamererZ added bug Something isn't working documentation Improvements or additions to documentation labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant