Android always dropdown mode
See original GitHub issueHello, I’m encountering weird issue. In your examples there is always “modal” mode of picker ( when I run examples from expo on my Xiaomi mi 8, I’m getting modal mode), but when I copy/paste examples into my app, on android I always get “dropdown” mode picker. Even if I set prop {pickerProps: {mode: "modal"}}
it is not doing anything and I’m always getting dropdown type of picker.
Is this normal behaviour?
Enclosing my code:
<RNPickerSelect
placeholder={placeholderObject}
items={itemsList}
onValueChange={this.onValueChange}
onClose={this.onDonePress}
style={styles.pickerClassic}
useNativeAndroidPickerStyle={false} // there is no difference when i set this to true
value={this.state.currentValue}
Icon={icon}
pickerProps={{ mode: "dialog" }}
/>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to Tweak and Rearrange Android's Quick Settings ...
To add, remove, or rearrange the buttons, open the full Quick Settings panel and tap the three-dot menu icon in the top right....
Read more >Menus - Android Developers
On Android 3.0 and higher, the options menu is considered to always be open when menu items are presented in the app bar....
Read more >Get around on your Android phone - Google Support
Open your phone's Settings app. · Go to System and then Gestures and then Swipe up on Home button. · Turn Swipe up...
Read more >Android Spinner - drop down list | DigitalOcean
This tutorial will give you a hands on experience in using Android Spinner as a drop down menu, passing data using android bundle...
Read more >How to make an Android Spinner with initial text "Select One"?
from(context); } @Override public final View getView(int position, View convertView, ViewGroup parent) { // This provides the View for the Selected Item in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My problem is related to this issue https://github.com/facebook/react-native/issues/24055
Good find on the upstream issue. This is precisely why we always stay one major version behind.