FlagPhoneNumber
FlagPhoneNumber copied to clipboard
search field disappears on second time if iOS <13.0
Describe the bug The search bar appears only when the user open the country drop down for the first time. After that, the search field doesn't appear until and unless the application is killed from background.
To Reproduce Steps to reproduce the behavior:
- Go to 'Country text field'
- Click on 'Country text field'
- A new screen appears with search field
- But when same process is followed second time, search field doesn't appear.
Expected behavior
Search field should remain on top of countries list
Screenshots Please see the attached screenshot.
Smartphone (please complete the following information):
- Device: iPhone6/iPhone7
- OS: [iOS < 13.0]
FlagPhoneNumber (please complete the following information):
- Version [0.8.0]
Additional context N/A
Any solution?
Not found yet
On Mon, Jul 20, 2020 at 5:03 PM sameeh0946 [email protected] wrote:
Any solution?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chronotruck/FlagPhoneNumber/issues/163#issuecomment-660972751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6XRA2HBSFIYUW66U4LJZ3R4QTSHANCNFSM4NSXQLEQ .
-- Best Regards
Shikha SinglaSenior Software Engineer Skype: shikha.singla
I started initializing FPNCountryListViewController inside fpnDisplayCountryList() function. If you do it like that the search textField will always be visible.
Yes, this issue still exists. I create a new view controller every time and by using that error doesn't occur. but I don't think I am using the wise solution.