infor-design / enterprise-ng

Angular wrappers for IDS Enterprise components
Apache License 2.0
57 stars 84 forks source link

Tooltip: Not showing the content after filter the list in the popover #1666

Open spendker opened 5 months ago

spendker commented 5 months ago

Describe the bug I am using tootip to show some content when hover on the list-view row.In this list-view I am using the input to filter the list. Now the issue is whenever I filter the list and hover on the row it sends the issue like below

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://stackblitz.com/edit/ids-quick-start-1759-un7rec?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts'
  2. when you hover on any list item it will show the popover details,but when you filter the see the error like ERROR Error: Cannot read properties of null (reading 'classList') 3)Srinivas Pendker 3/13 2:13 PM Soho Tooltip popover Issue when filter the list data Hi Team, I am using tootip to show some content when hover on the list-view row.In this list-view I am using the input to filter the list. Now the issue is whenever I filter the list and hover on the row it sends the issue like below

When I debug the issue I found that In the content in the popover should be array of nodelist as below image

In this scenario sohotooltip is working fine,but sometimes the same content is returning the jquery Object image

In this scenario I am getting an issue like classList of undefined and In the UI list contains empty rows like below image

What is the solution for the above issue.

Expected behavior After filtering the list view also the popover should show the tooltip content.

Version

Additional context Add any other context about the problem here.

tmcconechy commented 5 months ago

We will have to find some time for this in the future. But i think the error is happening on a line in your code.

this.weekView.settings.responsive = val;

Not sure what is happening or the logic but something you could investigate.

ericangeles commented 3 months ago

@spendker, I don't see the error in the stackblitz you provided. After filtering it, it still shows the popover.

ericangeles commented 3 months ago

@tmcconechy it feels like this one is more of a support than a bug.

spendker commented 3 months ago

@spendker, I don't see the error in the stackblitz you provided. After filtering it, it still shows the popover.

Hi @ericangeles If you see the console after filter the list there you can see the error like can not read the properties of null (reading 'classList')

image
ericangeles commented 3 months ago

I still can't see it with the steps above. Can you make a video or update the steps for much clearer instructions?