Closed RawalA closed 6 days ago
Hi @RawalA! Thank you for reaching out. Could you kindly provide us with a running stackblitz example?
Below is the stackblitz link for a sample project https://stackblitz.com/edit/angular-fc1kvu?file=src%2Fapp%2Fproducts.ts
Steps to reproduce :
If we remove IX-tooltip from html, it will work properly. But with if grid and ix-tooltip combination is used, it starts throwing page unresponsive error.
Any leads on above issue ?
@RawalA thanks for the provided Stackblitz, we will habe a look into it in an upcoming sprint
🤖 Hello @RawalA
Your issue will be analyzed and is part of our internal workflow. To get informed about our workflow please checkout the Contributing Guidelines
JIRA: IX-1280
Hi Team , please let us know when can we get some solution for above issue .
@RawalA Looks like you are not familiar with ix-tooltip
for
-property (css selector), i try to explain it.
You are placing a ix-tooltip
with an for
-property which works like an css selector for class .any-class
this result will match multiple elements, because you are using all the time the same selector each row.
You can fix this by providing unique selector e.g:
<ix-button [attr.data-tooltip-id]="dataItem.ProductID">Hover me {{dataItem.ProductID}}</ix-button>
<ix-tooltip id="tooltip-1" for="[data-tooltip-id='{{dataItem.ProductID}}']">Simple selector</ix-tooltip>
https://stackblitz.com/edit/angular-fc1kvu-gwxhma (You have to me sure that ProductID is unique)
I close this issue because its not an issue in the tooltip.
Prerequisites
What happened?
While using ix-tooltip in combination with grid , page becomes unresponsive.
Angular version : 17.1.2 Siemens-ix-angular version: 2.0.4 asset-data.json
What type of frontend framework are you seeing the problem on?
Angular
Which version of iX do you use?
2.0.4
Code to produce this issue.