IE 11 - Not working due to js errors
thamsrang opened this issue · comments
Hi,
There are JS error occurred in IE11 browser.
- When tooltip creating.
Error occurred inember-tooltip-base.js
at line no. 407
Unhandled promise rejection TypeError: Unable to get property 'add' of undefined or null reference
- When tooltip component destroying.
Error occurred inember-tooltip-base.js
at line no. 263
Unable to get property 'dispose' of undefined or null reference
@thamsrang IE 11 should support classList just fine. I think these errors may indicate that the target of the tooltip (usually the parent element) doesn't exist by the time it does the setup for the tooltip. are you passing targetId
to the tooltip or moving it around the DOM somehow?
@maxfierke Thanks for quick response. I am passing @targetId
to <EmberTooltip>
.
How to avoid these errors ?
@thamsrang You need to make sure the element specified by targetId
exists when the <EmberTooltip>
is rendered
@maxfierke What about second error ?
@thamsrang that's probably related to the first error where the tooltip wasn't able to attach itself to the target
Thanks for your comment. Working fine.