PdfViewer the "gotToPage" function prevent selection text

Hello,

I'm still reviewing your product, I'm facing to a problem when I apply a go page after set annotation, I could not select text any more.

I send you a sample to reproduce, I have a new Tab named "Document viewer" inside I have the pdfviewer component and an other panel with some fields.
When I click on one field I would like to go to the good page add apply annotation on it and send the result of manual selection on the selected field

It's works but if play with the three field (click many times random) I can not select text on the pdfviewer and send the result to the selected field. I have not problem when I not use the function go to page. 

Thanks for your help,
Nicolas

Attachment: BlazorAppPOC_HL_Case_eba71836.zip

6 Replies 1 reply marked as answer

DM Dhivyabharathi Mohan Syncfusion Team February 23, 2021 09:02 AM UTC

Hi Nicholas,  
  
We were able to reproduce the reported issue. We will analyze further and provide details on 26 February, 2021.  
  
Regards,  
Dhivya. 


DM Dhivyabharathi Mohan Syncfusion Team February 26, 2021 12:27 PM UTC

Hi Nicolas, 

We confirmed that the reported issue is a defect and  the fix will be included in April 1st weekly NuGet release 
 
 
Regards, 
Dhivya. 



DM Dhivyabharathi Mohan Syncfusion Team April 1, 2021 01:16 PM UTC

Hi Nicolas, 
 
As we mentioned earlier, we will include this fix in our upcoming weekly NuGet release on April 6th, 2021. 
 
Regards, 
Dhivya. 



DM Dhivyabharathi Mohan Syncfusion Team April 14, 2021 12:03 PM UTC

Hi Nicolas, 
 
We have fixed the reported “Text selection not working while navigation using goToPage method” issue and the fix was included in our latest NuGet weekly release v19.1.0.56. Kindly upgrade to that version to get the issue resolved 
 
 
Packages link:    
Blazor Client  
Blazor Sever 
Service side package    
ASP.NET Core :    
     
ASP.NET MVC:    
   
 
CDN links:   
 
 
 
Regards, 
Dhivya. 


Marked as answer

NN Nicolas NOEL April 15, 2021 09:21 AM UTC

Hi Dhivya,

Ok it's works for selected text after call a GoToPage. 

But when I call GoToPage with argument 2  it's alaways  got to the second page and not the third.
And when I call GoToPage with argument 1  it's alaways  got to the first page and not the second.
And when I call GoToPage with argument 0  it's alaways  got to the first page.

So I don't understand the logic ?

Thanks,
Nicolas


DM Dhivyabharathi Mohan Syncfusion Team April 16, 2021 01:04 PM UTC

Hi Nicolas, 
 
The goToPage() method accepts the page number as an argument. So, whatever the number is passed, the method takes to the respective page. By default, the page number begins with 1. So, if you give the number below 1, the viewer takes to the first page. Similarly, if you give the number beyond the total pages, the navigation won’t happen. It remains at the same active page. 
 
Code snippet: 
 
If we want to navigate to 3rd page, we need to provide the argument as 3. 
Var pageNumber = 3; 
await Viewer.GoToPage(pageNumber); 
 
If we want to navigate to 4th page, we need to provide the argument as 4. 
Var pageNumber = 4 
await Viewer.GoToPage(pageNumber); 
 
 
 
Kindly try this and revert us, if you have any concerns. 
 
Regards, 
Dhivya. 


Loader.
Up arrow icon