The dropdown menu and icon are fine, but whenever I tap it, the dropdown selections and a grey background take up the entire screen and renders over everything else as shown in the picture below. Here's the code I'm currently using, this behaviour persists even then i don't have anything inside the , no styling on it, and using <Dropdown ... />.
EDIT: I've tried setting the dropdownStyle to have a transparent background and changing the width/height but the grey background still persists all the same.
The dropdown menu and icon are fine, but whenever I tap it, the dropdown selections and a grey background take up the entire screen and renders over everything else as shown in the picture below. Here's the code I'm currently using, this behaviour persists even then i don't have anything inside the , no styling on it, and using <Dropdown ... />.
EDIT: I've tried setting the dropdownStyle to have a transparent background and changing the width/height but the grey background still persists all the same.
Code: <ModalDropdown options={['option 1', 'option 2']} style={{alignSelf:'flex-end', zIndex:2, marginTop:20, marginBottom: -30, paddingRight:5}}> <Icon style={{color:'white'}} name="menu" /> < /ModalDropdown>
I get this behavior on both the emulator and physical device.