angular-ui/ui-grid

ng-if in cell template disables cellnav focus

Open

#5.643 geöffnet am 24. Aug. 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wanted

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I am using cellNav with a custom cell template which works fine until I add an ng-if statement to the template at which point the cell stops receiving focus on click.

This is demonstrated in this plunkr: http://plnkr.co/edit/Wb8hBahoQcGaaSeCCT9n?p=preview where the first two columns have a the same cell template aside from an ng-if="true" clause in the latter.

Is there a known workaround for this?

P.S. Thanks for an awesome project!

Contributor Guide