angular-ui/ui-grid
在 GitHub 查看Problems with cellnav module and ui-bootstrap dropdown components
Open
#4,890 建立於 2015年12月21日
good first issuegrid-cellNavneeds: decision
描述
Hi!
I have a problem with using ui-bootstrap dropdown control inside a cell template of a ui-grid with cellnav enabled. The problem is that dropdown doesn't close when I click inside a grid. I believe this is because of the following call to evt.stopPropagation() in cellnav feature: https://github.com/angular-ui/ui-grid/blob/94a31149ca0282612d7dc85d87d2a68f2c12367c/src/features/cellnav/js/cellnav.js#L681
If I remove that call to evt.stopPropagation(); then it just works.