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

how to dim the background screen when the picker shows #577

Open
saaspeter opened this issue May 21, 2024 · 0 comments
Open

how to dim the background screen when the picker shows #577

saaspeter opened this issue May 21, 2024 · 0 comments

Comments

@saaspeter
Copy link

saaspeter commented May 21, 2024

Hi:
I want to know how to dim the background screen when the picker shows, below is the details, thanks!

Is your feature request related to a problem? Please describe.

Yes, It seems no built-in way to customize the background screen opacity when the react-native-picker-select modal is open on iOS. This leads to a lack of visual distinction between the active picker and the underlying app content, potentially hindering user experience and focus. (e.g: most date-picker will dim the background screen to highlight the picker)

Describe the solution you'd like

By default, when the picker shows the backend screen should become dim, like other date-pickers. However maybe the user can turnoff this effect by some a property.

Describe alternatives you've considered

I am not sure whether it can be achieved in "modalProps"? maybe some property like: Opacity

Additional details

Add any other details or screenshots about the feature request here.

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

1 participant