sohobloo / react-native-modal-dropdown

A react-native dropdown/picker/selector component for both Android & iOS.
MIT License
1.19k stars 477 forks source link

Modal sticks to screen when parent View position changes #191

Open naomipol opened 6 years ago

naomipol commented 6 years ago

I'm using this awesome component in a side drawer. What happens is while closing the drawer with swipe, the dropdown modal sticks to the screen, and it's position is not updated according to the parent drawer's position:

image

image

Any idea how to fix it?

midimurphdesigns commented 6 years ago

I got this same issue. I'm not sure how to fix it :(

edit: it looks like you can fix it with a setTimeout of 100 (https://github.com/sohobloo/react-native-modal-dropdown/issues/98)

qduck commented 6 years ago

I got this same issue! wait solution