-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Hello,
Thank you for your work on this project. I am reporting an issue I found
version: 2.3.5
platform: Android
On the initial render of the CountryPicker when setting show to true the country picker is not visible. If, in the app, the user navigates elsewhere an then back to the screen where the CountryPicker is used, then setting show to true again the picker is visible as expected.
My workaround is to wrap the CountryPicker in another component and quickly show and hide it initially with useEffect and a brief timeout with the display style set to 'none'. This workaround is satisfactory as the effect is not seen by the user, but I wanted to see if anyone else saw this issue. Perhaps there is a side effect on the first render that is causing the modal to not be visible until show is toggled a second time ?