'Expo open modal but keep a component on top of it

I have a map application that has a search bar on top of the map. Similarly to Google Maps, I would like to be able to click on the search bar, which would then open a modal under the same search bar, on which I could list the search results.

How could I achieve this with React Native Expo?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source