Page 1 of 1

PrimeNG Tooltip: Failed to execute 'removeChild' on 'Node'

Posted: 07 Jun 2016, 21:16
by saransh94
Hi,
I'm trying to add PrimeNG Tooltip functionality to PrimeNG 'Input calendar'. Below is my code sample showing what exactly I'm trying to do:

<p-calendar pTooltip="Some text here" ngControl="some_control"
[showIcon]="true" tooltipPosition="right"></p-calendar>

The above code throws an error in the console window when I take the mouse pointer on the datepicker glyphicon (which I have defined with the property 'showIcon="true"').. when I remove the glyphicon it sometimes throws an error (2 in 4 times). The following is the error that it throws:

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

and another line saying:

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at Error (native)
at Tooltip.destroy


have anybody faced a similar issue? or is aware about this issue? Any help would be greatly appreciated. Thanks