angular-ui/ui-grid

ng-if in cell template disables cellnav focus

Open

#5,643 创建于 2016年8月24日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
help wanted

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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!

贡献者指南