Error while scrolling kendo react grid after build

1 Answer 415 Views
Grid
Mansi
Top achievements
Rank 1
Iron
Iron
Iron
Mansi asked on 10 Feb 2022, 10:22 AM

Hi, 

I am using Kendo react grid in my project. It work fine in my local, but produces the following error on scrolling the grid after build and deployment.

Uncaught TypeError: Cannot read properties of null (reading 'element')
    at p (drag-n-drop.js:84:24)
    at useDraggable.js:149:9
    at HTMLDivElement.<anonymous> (useDraggable.js:217:9)

Why am I getting this error after build and how is it working fine in my local? Please suggest a way to resolve this.

Regards

Mansi

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 14 Feb 2022, 06:10 AM

Hello, Mansi,

Thank you for the report.

This seems to be connected with the following issue that is also observed in the Scheduler:

https://github.com/telerik/kendo-react/issues/1202

They both originate from the same useDraggable functionality we use internally.

Currently, there is no workaround available, if one is found it will be added to the issue.

Apologies for the inconvenience this may have caused you.

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Mansi
Top achievements
Rank 1
Iron
Iron
Iron
commented on 14 Feb 2022, 02:12 PM

Hi Stefan,

How am I not getting this error in my local with npm start?

Stefan
Telerik team
commented on 14 Feb 2022, 02:45 PM

Hello,

The error may also occur in a local environment, but it could be difficult to reproduce.

Another reason could be variable issues while bundling the application.

We can provide more specific information on why it occurs only there after the team locates the issue.

Tags
Grid
Asked by
Mansi
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Stefan
Telerik team
Share this question
or