We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Error when compile in production mode. Version 17.1.47

Hi!

I'm testing latest version (17.1.47) of Angular Pivot View. When I run the app in development mode, all run well, but when I run in production mode, there are a lot of errors when filtering and drag and drop:

ERROR TypeError: Cannot read property 'filterDialog' of undefined
    at e.onDragStop

If I use the workaround setting optimization = false it works, but the file size is 10 MB. 

You said in another components that is fixed in the last version, but not with Pivot View.

When will this be fixed?

Thanks!

1 Reply

DB Dinesh Babu Yadav Syncfusion Team May 20, 2019 09:32 AM UTC

Hi Ignacio, 
 
Thanks for contacting Syncfusion Support. 
 
We suspect that this issue may occurred due to angular cli. Please refer the below thread, 
 
 
You can fix this by setting buildOptimizer to false in angular.json. Meanwhile, we have prepared the sample for your reference. 
 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav. 
 


Loader.
Live Chat Icon For mobile
Up arrow icon