react-native-modal-dropdown icon indicating copy to clipboard operation
react-native-modal-dropdown copied to clipboard

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

Open Mahalakshmi269 opened this issue 2 years ago • 0 comments

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

Mahalakshmi269 avatar Jul 20 '22 07:07 Mahalakshmi269