enterprise icon indicating copy to clipboard operation
enterprise copied to clipboard

Uncaught TypeError: Cannot read properties of undefined (reading 'tooltipOptions')

Open guoliang opened this issue 3 years ago • 2 comments
trafficstars

Describe the bug Remove rows to fast in a Data Grid throw tooltip is undefined error

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/ids-quick-start-1411-ivewxa?file=src/app/app.component.ts
  2. Open browser developer tools
  3. Delete rows rapidly

Expected behavior No errors should throw

Version

  • enterprise-ng: 14.1.1

guoliang avatar Jul 22 '22 16:07 guoliang

@guoliang @tmcconechy @ericangeles Hello, I checked the code in IDS and there looks to be a fix already there for the undefined exception: https://github.com/infor-design/enterprise/blob/main/src/components/datagrid/datagrid.js#L12881 If I inspect the stackblitz, the check is missing image

I've been trying several cases to reproduce the error and it doesn't work in my end, so I think updating to the latest IDS version will fix the issue

yohannahbautista avatar Oct 13 '22 06:10 yohannahbautista

@yohannahbautista sounds like the answer to me.

tmcconechy avatar Oct 14 '22 15:10 tmcconechy

Closing now this issue.

ericangeles avatar Oct 21 '22 06:10 ericangeles

This issue is now resolved.

CindyMercadoReyes avatar Oct 31 '22 19:10 CindyMercadoReyes