Tooltip - JS error ngOnInit - Cannot read properties of null (reading 'elementRef')

Hi there,

I noticed in the newest version of Syncfusion, there are JS errors generated when using the tooltip in Angular.

For instance if you go to your documentation page https://ej2.syncfusion.com/angular/documentation/tooltip/getting-started/

And look at the JS console in your browser, you will see the following errors:


In other words: initializing a tooltip will give you the JS error:

TypeError: Cannot read properties of null (reading 'elementRef')

Probably some null check is forgotten somewhere.


2 Replies

IL Indhumathy Loganathan Syncfusion Team December 31, 2021 01:05 PM UTC

Hi Jan van Rossum, 
 
Greetings from Syncfusion support, 
 
We can reproduce the reported issue and confirmed this as a defect. We will include this fix with first weekly patch release which is scheduled on 4th January 2022. You can track the status of this bug using the below feedback portal link.  
 

We appreciate your patience until then. 
 
Please get back to us if you have any queries. 
 
Regards, 
Indhumathy L 



IL Indhumathy Loganathan Syncfusion Team January 5, 2022 01:03 PM UTC

Hi Jan van rossam, 
 
We are glad to announce that our patch release (V19.4.41) is rolled out successfully. We have resolved the reported issue in this release. For your reference, we prepared a sample with Tooltip component in latest version. Please check the below sample. 
 
 
 
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Indhumathy L 


Loader.
Up arrow icon