angular-ui/ui-grid

Problems with cellnav module and ui-bootstrap dropdown components

Open

#4890 aperta il 21 dic 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issuegrid-cellNavneeds: decision

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor