Keyboard hides forms in SinglePage view mode

Hi,

Today I tried filling a PDF file with forms which are at the bottom of the page and I have noticed that keyboard overlaps them. Is there any settings which would allow me to push the whole view up when keyboard is shown? I'm aiming for same behaviour as with standard Xamarin.Forms controls. 

This happens when SfPdfViewer has PageViewMode is set PageByPage value. Happens on both iOS and Android.

Thanks in advance

22 Replies 1 reply marked as answer

AV Ashokkumar Viswanathan Syncfusion Team November 4, 2020 12:53 PM UTC

Hi Michal, 
 
Greetings from Syncfusion support, 
 
We are able to reproduce the issue, “Keyboard hides the focused text box form field in single page view mode“. Currently, we are validating the issue and we will update further details on November 6th ,2020. 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team November 6, 2020 05:06 PM UTC

Hi Michal, 
  
We have confirmed that the issue “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” is a defect and logged a defect report for this issue. The patch for this issue will be delivered on November 27th , 2020. 
 
Please find the feedback link below, 
  
Regards, 
Ashok Kumar Viswanathan. 



NK Navaneetha Kannan Sudalai Muthu Syncfusion Team November 27, 2020 04:05 PM UTC

Hi Michal,  

Sorry for the inconvenience caused. We are still working on the fix of the issue “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform”. The patch for the fix will be updated on December 07, 2020.  

Best, 
Navaneetha Kannan 



NK Navaneetha Kannan Sudalai Muthu Syncfusion Team December 7, 2020 08:13 PM UTC

Hi Michael,  

We regret that such inconvenience caused. We are still working on the fix of the issue “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform”. At present, we are working on this issue as high priority. We will provide the patch for the fix on December 14, 2020.  

Best, 
Navaneetha Kannan 



AV Ashokkumar Viswanathan Syncfusion Team December 14, 2020 05:13 PM UTC

Hi Michal, 
 
Sorry for the inconvenience caused,  
  
We regret that such inconvenience caused. We are still working on the fix of the issue “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform”. At present, we are working on this issue as high priority. We will provide the patch for the fix on December 21st , 2020.  
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team December 21, 2020 04:45 PM UTC

Hi Michal, 
 
We have resolved the issue “Keyboard hides the focused textbox form field in single page view mode” and the custom NuGet for the same can be downloaded from the following link 
     
Custom NuGet :  
    
Disclaimer:   
Please note that we have created this NuGet for version 18.3.0.52 specifically to resolve the following issue(s) reported in this/the forum. 159356
 
   
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.    
     
        
This fix will be included in our 2020 Volume 4 Service pack release which is expected to available in the month of January, 2021.     
 
Regards, 
Ashok Kumar Viswanathan. 



MS Michal Saman replied to Ashokkumar Viswanathan January 6, 2021 04:22 PM UTC

Hi Michal, 
 
We have resolved the issue “Keyboard hides the focused textbox form field in single page view mode” and the custom NuGet for the same can be downloaded from the following link 
     
Custom NuGet :  
    
Disclaimer:   
Please note that we have created this NuGet for version 18.3.0.52 specifically to resolve the following issue(s) reported in this/the forum. 159356
 
   
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.    
     
        
This fix will be included in our 2020 Volume 4 Service pack release which is expected to available in the month of January, 2021.     
 
Regards, 
Ashok Kumar Viswanathan. 


Hi,

sorry for late response. I have tried the fix you have provided, but it is not working as expected. I have attached a video recording of iOS simulator with demonstration. Could you please look into it?

Thanks in advance

Attachment: Screen_Recording_20210106_at_17.13.55.mov_469d46e2.zip


MK Muralitharan Karikalan Syncfusion Team January 7, 2021 01:25 PM UTC

Hi Michal, 
 
Greetings from Syncfusion support, 
 
We were unable to reproduce the issue, “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” with the custom nuget we have provided and it is working as expected.  We suspect the issue occurring due to the pdf you are using. Could you please try the below-provided sample with the patch we have provided and let us know whether we have missed out anything while replicating the issue. 
 
Please find the sample in the below link, which we have used to reproduce the issue in our end 
  
Kindly share the following details to analyze more on this issue and assist you with the better solution   
  1. Simple sample/ modify the above sample to reproduce the issue.
  2. PDF document.
  3. procedure to reproduce the issue.
 
Regards, 
Muralitharan K 



MS Michal Saman January 8, 2021 09:52 AM UTC

Hi,

thanks for the demo, but it is still not working for us. It may be document related as the behavior is different with different pdfs. However we have encountered issues even with the document present in your demo. Also we are using PageByPage PageViewMode, maybe that could be related too.

Anyway I have attached a modified version of your demo which is not working correctly for us. I have also attached two videos demonstrating the issue, one with our document and one with yours. The behavior on each is slightly different. Our test pdf is also included in the demo.

Also we are testing this on iPad simulator (IPad Pro 9.7-inch) with iOS 14.3

Thanks in advance

Attachment: demonstration_f09d9adb.zip


MK Muralitharan Karikalan Syncfusion Team January 11, 2021 03:55 PM UTC

Hi Michal, 
 
Sorry for the inconvenience caused. 
 
We were able to reproduce the issue, “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” as in the replication video. At Present we are working on this as high priority. We will provide the patch for the issue on January 15, 2021.  
 
Regards, 
Muralitharan K 



SP Satheesh Palanisamy Syncfusion Team January 15, 2021 07:38 PM UTC

Hi Michal,  
We have resolved the issue, “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” and the custom NuGet for the same can be downloaded from the following link  
Custom NuGet :  
  
Disclaimer:
Please note that we have created this NuGet for version 18.4.0.34 specifically to resolve the following issue(s) reported in this/the forum 159356
 
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.  
  
This fix will be included in our 2020 Volume 4 Service pack release which is expected to available in the month of January 2021.  
 
Regards,  
Satheesh Palanisamy. 


Marked as answer

MS Michal Saman January 19, 2021 02:55 PM UTC

Hi,

thanks for the update. Your fix seems to work much better now. However when we rotate the app, the keyboard still overlaps the text field. This seem's to happen only on the first input, after that it seem's to work fine until another rotation occurrs. I have attached a video where you can see the behavior.

Thanks in advance.

Attachment: KeyboardBug.mov_5c4b6c3c.zip


CC Christian Campos January 19, 2021 03:32 PM UTC

Did you try using this (in MainActivity)?

.....
                LoadApplication(new App());

                Xamarin.Forms.Application.Current.On<Xamarin.Forms.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);


MK Muralitharan Karikalan Syncfusion Team January 20, 2021 04:02 PM UTC

Hi Michal, 
 
We have reproduced the issue, “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” with the details you are provided. 
Currently we are working this as high priority. We will provide the patch for the issue on January 25th ,2021. 
 
Regards, 
Muralitharan K 



MS Michal Saman replied to Christian Campos January 21, 2021 08:19 PM UTC

Did you try using this (in MainActivity)?

.....
                LoadApplication(new App());

                Xamarin.Forms.Application.Current.On<Xamarin.Forms.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);

Yes, I tried that with the first version of the Nuget but without any improvements. Also keybord is working fine in other Xamarin.Forms controls.

But thanks for the idea.


AV Ashokkumar Viswanathan Syncfusion Team January 25, 2021 05:41 PM UTC

Hi Michal, 
 
We have resolved the issue Keyboard hides the focused textbox form field in single page view mode after changing orientation from portrait to landscape” and the custom NuGet for the same can be downloaded from the following link. 
     
Custom NuGet :  
  
Disclaimer:   
Please note that we have created this NuGet for version 18.4.0.34 specifically to resolve the following issue(s) reported in this/the forum . 159356
 
   
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.    
     
        
This fix will be included in our 2021 Volume 1 Main release which is expected to available in the month of March, 2021.     
 
Regards, 
Ashok Kumar Viswanathan. 



MS Michal Saman January 26, 2021 09:13 AM UTC

Hi,

thanks for the patch. It seems to work correctlly now, except one case. When you have text field focused and keyboard shown, then rotate the device, the keyboard will overlap the field. It will also move the document down when the keyboard is hidden. I have attached a video where you can see the issue.

Also, could you please base the next patch on the version 18.4.0.35? This version contains fixes for other issues we had.

Thanks in advance

Attachment: keyboard_bug_26_1.mov_ce305d1e.zip


MK Muralitharan Karikalan Syncfusion Team January 27, 2021 05:52 PM UTC

Hi Michal, 
 
We have fixed the issue,” Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform” in the scenario while rotating the device with text field focused and the keyboard is shown. 
 
Please find custom NuGet link below, 
 
Regards, 
Muralitharan K 



MS Michal Saman January 28, 2021 09:59 AM UTC

Hi,

thanks for the update. I can confirm that keyboard now works correctly if you rotate from portrait mode to landscape. But the fix does not work if you rotate from landscape to portrait. Also sometimes whole document is moved away from screen when the keyboard is hidden. I have attached a video where you can see the issues.

Thanks in advance

Attachment: keyboard_bug_28_1.mov_783232d1.zip


MK Muralitharan Karikalan Syncfusion Team January 29, 2021 07:42 PM UTC

Hi Michal, 
 
We were able to reproduce the issue, Document is moved away from screen when the keyboard is hidden and it is different from the issue, Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform. Currently , We are validating this issue and we will update the further details on February 02, 2021. 
 
Regards, 
Muralitharan K 



MK Muralitharan Karikalan Syncfusion Team February 2, 2021 02:26 PM UTC

Hi Michal,  
   
We have confirmed that the issue Document is moved away from screen when the keyboard is hidden is a defect and logged a defect report for this issue. The patch for this issue will be delivered on February 9th  , 2021.  
  
Please find the feedback link below,  
   
Regards,  
Muralitharan K. 



AV Ashokkumar Viswanathan Syncfusion Team February 9, 2021 06:50 PM UTC

Hi Michal,  
  
We have resolved the issues “Document is moved away from screen when the keyboard is hidden” & “Number of lines in a page is wrong while using ExtractText API” and the custom NuGet for the same can be downloaded from the following link.  
      
Custom NuGet :   
 
Note: Please install the NuGet in the following order   
1.       Syncfusion.Xamarin.PDF 
2.       Syncfusion.Xamarin.SfPdfViewer 
     
Disclaimer:   
Please note that we have created this NuGet for version 18.4.0.35 specifically to resolve the following issue(s) reported in this/the forum.
160089, 159911, 159356, 158748, 157930 
    
Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.     
      
         
This fix will be included in our 2021 Volume 1 Main release which is expected to available in the month of March, 2021.      
  
Regards,  
Ashok Kumar Viswanathan.  


Loader.
Up arrow icon