FlagPhoneNumber icon indicating copy to clipboard operation
FlagPhoneNumber copied to clipboard

search field disappears on second time if iOS <13.0

Open ShikhaSingla opened this issue 4 years ago • 4 comments

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:

  1. Go to 'Country text field'
  2. Click on 'Country text field'
  3. A new screen appears with search field
  4. But when same process is followed second time, search field doesn't appear.

Expected behavior Search field should remain on top of countries list 83739626-7a358880-a673-11ea-95df-b09700596824

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

ShikhaSingla avatar Jun 04 '20 15:06 ShikhaSingla

Any solution?

sameeh0946 avatar Jul 20 '20 11:07 sameeh0946

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

ShikhaSingla avatar Jul 29 '20 08:07 ShikhaSingla

I started initializing FPNCountryListViewController inside fpnDisplayCountryList() function. If you do it like that the search textField will always be visible.

jakubradzik avatar Nov 10 '20 11:11 jakubradzik

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.

ahsan-khalil avatar Mar 16 '21 13:03 ahsan-khalil