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!

貢獻者指南