Emoji flags in the country picker modal are transparent on Android (not an issue on iOS).
Note: this issue was previously opened, but it was closed and was never fixed/resolved in the codebase.
Without change:
With suggested change:
Steps to Reproduce / Code Snippets
On Android, render the country picker modal as described exactly in the documentation, with the emoji flags showing (the withEmoji value is true by default). Observe that the emoji flags in the modal have significant transparency, even before any press event is executed.
On iOS, render the country picker modal, same as above. Observe that the emoji flags do not have any transparency unless the press event is executed.
Adding a color style property to the emojiFlag style block in Flag.js fixes the issue:
Expected Results
On Android, the emoji flags in the country picker modal should not have any transparency until the press event occurs.
Issue Description
Emoji flags in the country picker modal are transparent on Android (not an issue on iOS). Note: this issue was previously opened, but it was closed and was never fixed/resolved in the codebase.
Without change:![Screenshot_20230729_120545_DV Direct](https://github.com/xcarpentier/react-native-country-picker-modal/assets/14365371/df2fdbed-1a4c-49e6-9ed4-48aad65ef8e0)
With suggested change:![Screenshot_20230729_120520_DV Direct](https://github.com/xcarpentier/react-native-country-picker-modal/assets/14365371/6fc11233-b2f3-4df6-aca5-2794ed413814)
Steps to Reproduce / Code Snippets
On Android, render the country picker modal as described exactly in the documentation, with the emoji flags showing (the
withEmoji
value istrue
by default). Observe that the emoji flags in the modal have significant transparency, even before any press event is executed.On iOS, render the country picker modal, same as above. Observe that the emoji flags do not have any transparency unless the press event is executed.
Adding a
color
style property to theemojiFlag
style block inFlag.js
fixes the issue:Expected Results
On Android, the emoji flags in the country picker modal should not have any transparency until the press event occurs.
Additional Information