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

Fix dropdown items not display issue when dropdown render at bottom in android #270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mahalakshmi269
Copy link

Issue: Dropdown items not visible, when dropdown render at bottom in android.

  • Dimensions API is not working as expected in the android device. Hence used 'react-native-safe-area-context' library.
  • By using initialWindowMetrics from 'react-native-safe-area-context' library, returns exact height for android device.

Before fix:
Before_fix_options_not_visible

After fix:
After_fix_dropdown_render_at_top

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

Successfully merging this pull request may close these issues.

None yet

1 participant