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

can't remove gray background on IOS picker #548

Open
PatriciaRomaniuc opened this issue Feb 22, 2024 · 1 comment
Open

can't remove gray background on IOS picker #548

PatriciaRomaniuc opened this issue Feb 22, 2024 · 1 comment

Comments

@PatriciaRomaniuc
Copy link

My code:
<PickerIOS style={[styles.picker]} itemStyle={styles.textPicker} selectedValue={hour} onValueChange={(itemValue, itemIndex) => { onTimeChange({ hour: itemValue.toString(), minute, format, }); }} > {hours.map((hour) => ( <PickerIOS.Item key={hour} label={hour} value={hour} /> ))} </PickerIOS>

relevant style:
picker: { flex: 1, }, textPicker: { color: Colors.White, fontSize: 23, },

I wanted to have a simple picker with just some lines, but can't remove the gray background.
IMG_8054

@gufengpiaoyi
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants