Skip to content

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

Open
Mahalakshmi269 wants to merge 2 commits intosohobloo:masterfrom
Mahalakshmi269:fix-dropdown-issue-android
Open

Fix dropdown items not display issue when dropdown render at bottom in android#270
Mahalakshmi269 wants to merge 2 commits intosohobloo:masterfrom
Mahalakshmi269:fix-dropdown-issue-android

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.

1 participant