ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

UI Grid Logs Warn messages when hiding a column (angular.js:12330 Trying to focus on an element that isn't an element)

Open nkoterba opened this issue 10 years ago • 8 comments

Issue is more a "heads-up" than an actual bug as I believe functionality of the grid is unaffected.

However, if you open up the following Tutorial (http://ui-grid.info/docs/#/tutorial/102_sorting) and open up the browser console and hide any of the columns in any of the sample tables, you get the warning message below: image

You can see 4 times ui-grid is trying to focus on a null or non-angular element.

I've seen this "warning" occur on all UI-grids in all the tutorials (as well as my app which is where I first found it and thought perhaps I was doing something "inappropriate").

nkoterba avatar Mar 09 '16 20:03 nkoterba

The same issue is happening to me. Did you find a solution? If so, how you solve it?

abisohexacta avatar May 12 '16 15:05 abisohexacta

+1 any solution guys?

thadeuborges avatar Mar 31 '17 18:03 thadeuborges

Guys, this 'warning' still hapen on version ui-grid - v4.0.3...

thadeuborges avatar Apr 05 '17 16:04 thadeuborges

This issue can sometimes be reproduced on a grid without data and appears to cause the column menu to not show up.

mportuga avatar Sep 13 '17 19:09 mportuga

I'm using AngularJS 1.6.7 and ui-grid 4.1.3 and I'm having the same issue. Even more, with versions of angular > 1.6 I think it' s causing this error : "Possibly unhandled rejection: not-element". You can reproduce with this plunkr : http://plnkr.co/edit/BUybCa9ADfx4rH7gEDNH when you hide a column. Hope it' s gonna be fixed soon, it's not really nice to make workarounds to avoid this error.

dmihaela avatar Jan 15 '18 13:01 dmihaela

I am using AngularJS 1.6.7 and ui-grid 4.2.0 , facing same issue.

Trying to focus on an element that isn't an element. Unknown Exception Possibly unhandled rejection: not-element

Is there any workaround for now ?

chalder avatar Jan 17 '18 22:01 chalder

Is anyone still seeing this in v4.6.2?

georgiabarnes avatar Aug 29 '18 17:08 georgiabarnes

@georgiabarnes Yes I'm still seeing it on v4.6.2 and AngularJS v1.7.2,

Was it meant to be fixed?

nedislavd avatar Nov 27 '18 11:11 nedislavd