UweReisewitz / XamarinAndroidEntry

Custom Entry for Xamarin Forms with full control over the virtual keyboard
MIT License
32 stars 6 forks source link

Keyboard shows when two way binding property in ViewModel change #3

Open pazunino opened 3 years ago

pazunino commented 3 years ago

Hi @UweReisewitz , I have a case that is needed to change the content of an ExtendedEntry from ViewModel via the binding property. Although the ShowVirtualKeyboardOnFocus property is set to false, the keyboard shows and stays up. Regards Pedro

UweReisewitz commented 3 years ago

Which Android version are you on?

pazunino commented 3 years ago

I have 2 devices, one with 7.1.2 and the other with 10. In both devices the behavior is the same. As a workaround I set the focus on the extendedentry after changing the VM property with a trigger. In the 7.1.2 the workaround works fine the keyboard is not noticeable, but in the device with 10 the keyboard goes up and down in a very noticeable way.

UweReisewitz commented 3 years ago

Do you have a repo for me? That would help a lot.

pazunino commented 3 years ago

No, I don't have. I'll try to find a slot of time and make one cutting down my app. The VM property takes the value from a rfid tag reading and shows for validation in the View. I have to take out this nfc library.

UweReisewitz commented 3 years ago

I'm sorry for the delay. I will have to investigate this (and I need it for my own project, too). But due to other priorities that will take a few weeks.

pazunino commented 3 years ago

Sorry for the delayed response. That's ok, no problem I can wait, I am using the workaround explained above. The flashing keyboard is not a major problem for the user. Thank you for your work.