replaceAll issue with Pages layout

Hi,

I found this bug recently (I don't know why it happens now, maybe browser update)


Concerned feature : 

Using the search/replaceAll feature. 


Description :

the replaceAll crashs when some searched text are founded in multiple pages, and this happens : 


the getHierarchicalIndex function bugs a containerWidget of a node seems undefined

How to reproduce:
You can reproduce it by using the sfdt file I share with this post by trying to replaceAll "
[qualification_huissier]" in the document.


Work around:

For people having this bug, you can avoid it this way:

you have to set the layoutType of the documenteditor to "Continuous" before using the search and replace

Then switching back the layoutType to "Pages" once the replace is done.


Attachment: sample_replaceAll_50acfe69.zip

1 Reply

DS Dhanush Sekar Syncfusion Team September 15, 2022 02:12 PM UTC

Hi François,


In latest version (v20.2.49), We are unable to reproduce the reported issue. 

Can you please confirm whether you are able to replicate the issue in below stackblitz sample

https://stackblitz.com/edit/react-r51phr?file=index.js

If not, please upgrade document editor to latest version and let us know if you still facing issue.


Regards,

Dhanush Sekar


Loader.
Up arrow icon