Uncaught TypeError: Cannot read properties of undefined (reading 'restore')

I get this issue when putting a text editor on a popup or drawer
syncErr.PNG

These inputs shown on the screen

c.PNG
save.PNG


4 Replies

VY Vinothkumar Yuvaraj Syncfusion Team January 24, 2023 04:57 PM UTC

Hi Hadeer Mohamed,


We created a sample based on your requirements. But we were unable to replicate your problem at our end. Please see the attached sample for your reference.


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


Could you please provide more information about your problem so that we can reproduce it?

  • Share your full page code or runnable sample to reproduce your issue at our end.
  • Please share the replication procedure so that we can investigate your problem.
  • If possible, please share a video that shows the issue you are experiencing.
  • Share your Syncfusion package version.


Regards,

Vinothkumar



HM Hadeer Mohamed replied to Vinothkumar Yuvaraj January 29, 2023 07:51 AM UTC

Hi,  Vinothkumar Yuvaraj
the issue happens when I use more than one in the same view
text1.PNG
I make it as a component and reuse it as I need
te1.PNG



TU Tuan replied to Hadeer Mohamed January 30, 2023 12:05 PM UTC

I got an issue same to you when I'm using a common component twice, it is because they're the same id. Let's put a different id into your component and the issue will be resolved.



VY Vinothkumar Yuvaraj Syncfusion Team January 30, 2023 05:12 PM UTC

We are happy to hear that the problem has been resolved by yourself. Please let us know if you have any further queries.


Loader.
Up arrow icon