CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

Keyboard not opening automatically

Open tised opened this issue 4 years ago • 13 comments

Hello! Thanks for the library!

I faced one issue which I couldn't fix by myself - I see that you are providing a mechanism to automatically show the keyboard but it's not working for me for some reason.

Also, the search field does not receive focus once the dialog open

Can that be fixed?

I tried with android 8 and 10

Flags for app:ccpDialog_keyboardAutoPopup and app:ccpDialog_allowSearch is set to true

tised avatar Jul 15 '21 13:07 tised

Hey, I haven't visited that part of code in a while so it's quite possible. Is this critically urgent for you? Or can I take a look at during weekend?

On Thu, Jul 15, 2021 at 07:14 Dmytro @.***> wrote:

Hello! Thanks for the library!

I faced one issue which I couldn't fix by myself - I see that you are providing a mechanism to automatically show the keyboard but it's not working for me for some reason.

Also, the search field does not receive focus once the dialog open

Can that be fixed?

I tried with android 8 and 10

Flags for app:ccpDialog_keyboardAutoPopup and app:ccpDialog_allowSearch is set to true

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/500, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFQ32DB7SJ2Y4LTIALNCZDTX3NMLANCNFSM5ANQ5IFA .

hbb20 avatar Jul 15 '21 13:07 hbb20

During the weekend will be OK, thanks! Hope on Monday to see what you will find (:

tised avatar Jul 15 '21 13:07 tised

This is indeed an issue. I tried to solve it with WindowInsetsControllerCompat but it introduces a new problem of unable to dismiss keyboard for dialog. I'll look deeper later. Hope this is not impacting you critically.

hbb20 avatar Jul 26 '21 13:07 hbb20

Thanks for the update! Semi-critical let's say :)

Wish you luck to solve it!

tised avatar Jul 26 '21 13:07 tised

Hello, I was just looking to update from 2.5.3 to 2.5.4 to try to fix a user report of the keyboard not opening. It seems to have worked for some but not all devices.

My Pixel 4 XL on Android 11 previously would not open the keyboard and after the upgrade opens it properly.

On the other hand, my Samsung Galaxy Note 9 on Android 10 would allow the keyboard to stay open before (the activity starts with the keyboard open) but after the upgrade closes the keyboard when I open the picker, which makes things worse. If the keyboard is not already opened and I open the picker the keyboard stays closed.

jackmichalak avatar Sep 08 '21 19:09 jackmichalak

I have the same issue on android 12. Keyboard is not auto-opening. When I tap to open it, something else will steal the focus so I will have to tap twice on the input number to be able to type in.

Crysis21 avatar Nov 06 '21 09:11 Crysis21

Interesting. There seems to be no issue for me with my old android phones. Perhaps double-tapping it in the input number will help like @Crysis21 said. I'm not exactly sure what the issue is, but I think it's just the new update. But on the other hand, my new one also has the problem-perhaps we should all look deeper into it!

Dambbu avatar Nov 06 '21 17:11 Dambbu

Any update on this? I'm facing the same issue.

SurajBahadur avatar Aug 23 '22 11:08 SurajBahadur

Unfortunately, no. Can I ask what brand of phone you are using right now??

Dambbu avatar Aug 23 '22 20:08 Dambbu

Samsung Note 9 seems to work fine for me. Is it just me with no problems with the key?

Dambbu avatar Aug 23 '22 20:08 Dambbu

Unfortunately, no. Can I ask what brand of phone you are using right now??

I tested it on pixel 6a and redmi note 9 pro

SurajBahadur avatar Aug 24 '22 06:08 SurajBahadur

Great news… RIP if you tried this already though. Ok, so… Go to settings Go to apps Go to the keyboard app you are using Then click storage Then click clear cache.

HOWEVER If its not an app that you are using-and if it’s the basic phone keyboard, how about backtracking and downloading a keyboard app and using that for your basic keys? Please tell me if it worked out or not 😅😅 I hope it works… But I have a feeling it won’t 🥲😖

Dambbu avatar Aug 25 '22 05:08 Dambbu

Aight so try this https://c.mi.com/oc/thread-3907714-1-0.html?mobile=no

Dambbu avatar Aug 25 '22 05:08 Dambbu