Navigation drawer stealing focus

Hi
I'm experiencing an issue in Xamarin.Android forms, I have an activity which has UI flags set to hide navigation. I also have a Xamarin forms page with contains a navigation drawer and in the navigation drawer content there is an Entry.

SystemUiFlags.HideNavigation

If I tap on the entry to focus, the keyboard appears but the Entry loses focus immediately while the keyboard stays open, I have to re-tap the entry to regain focus. If I close the keyboard and try again the same issue repeats.

If I remove the hide navigation flag in the activity this fixes the issue but unfortunately I need that flag so I can't just remove it.

Everything works fine if I move the Entry outside of the navigation drawer (this is not specific to Entry and I have this problem with other controls), I've tried using tab index, tab stop, input transparency etc.

10 Replies 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team April 29, 2021 01:20 PM UTC

Hi Neil,

Greetings from Syncfusion.

We have analyzed the reported issue. We have prepared a sample based on the information provided but we were unable to reproduce the issue.

Please have a sample for your reference,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationDrawerEntry-2044929978

Since we are not aware of exact scenario of the issue, could you please check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman.
 



NC Neil Clarke April 29, 2021 03:34 PM UTC

Hi Suganya,

Thanks for the sample feedback, I appreciate I didn't provide enough information to recreate the issue.

I've now managed to recreate the error on the sample project by adding a shell to the root of the app.

I've attached a revised version of the sample app for examination.

The replication procedure is much the same:

- Navigate to page, 
- Tap the entry to focus and bring up keyboard
- Entry loses focus.

Many thanks,
Neil

Attachment: NavigationDrawerEntry2044929978REVISED_41139505.zip


SS Suganya Sethuraman Syncfusion Team April 30, 2021 11:24 AM UTC

Hi Neil,

Greetings from Syncfusion,

We have analyzed the reported issue. We were able to reproduce the issue “[Android] Entry loses focus when it is used inside the ContentView of SfNavigationDrawer” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link: https://www.syncfusion.com/feedback/24894

The provided feedback link is private, and you need to login to view this feedback.

The fix for the reported issue will be available on 14th May, 2021.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team May 17, 2021 10:22 AM UTC

Hi Neil,

Thanks for your patience.

We have fixed the reported issue and Please download the path from the following location.

Please find the patch setup from below location:

https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionPatch_19.1.0.63_1011884_517202101

(OR)

Please find the patch assemblies alone from below location:

https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionPatch_19.1.0.63_1011884_5172021013738207_F164943.zip

(OR)

Please find the NuGet from below location:  
 
https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionNuget_19.1.0.63_1011884_51720210

Assembly Version: 19.1.0.63

Disclaimer:

Please note that we have created this patch for version 19.1.0.63 specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Note: Please clear the cache, before the apply the provided patch

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

This fix will be included in our upcoming weekly NuGet release, which will be available on May 25, 2021.

Regards,
Suganya Sethuraman.
 


Marked as answer

NC Neil Clarke May 17, 2021 10:25 AM UTC

Thanks Suganya and team


NC Neil Clarke May 17, 2021 01:57 PM UTC

Hi Suganya,

We've tried to download the patches supplied but we are getting an unauthorized error message.

Neil


SS Suganya Sethuraman Syncfusion Team May 18, 2021 04:43 AM UTC

Hi Neil,

Sorry for the inconvenience.

We have fixed the reported issue and Please download the path from the following location.

Please find the patch setup from below location:

https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionPatch_19.1.0.63_1011884_5172021013738207_F164943.exe

(OR)

Please find the patch assemblies alone from below location:

https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionPatch_19.1.0.63_1011884_5172021013738207_F164943.zip

(OR)

Please find the NuGet from below location:   
 
https://syncfusion.com/Installs/support/patch/19.1.0.63/1011884/F164943/SyncfusionNuget_19.1.0.63_1011884_5172021013738207_F164943.zip

Assembly Version: 19.1.0.63

Disclaimer:

Please note that we have created this patch for version 19.1.0.63 specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Note: Please clear the cache, before the apply the provided patch

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

This fix will be included in our upcoming weekly NuGet release, which will be available on May 25, 2021.

Regards,
Suganya Sethuraman.
 



NC Neil Clarke May 18, 2021 09:52 AM UTC

Unfortunately the links are still not working.


SS Suganya Sethuraman Syncfusion Team May 18, 2021 10:05 AM UTC

Hi Neil,

We have checked patch link at our end. This is working fine. This fix will be included in our upcoming weekly NuGet release, which will be available on tomorrow May 19, 2021. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team May 20, 2021 04:28 AM UTC

Hi Neil,

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v19.1.0.64 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon