angular-ui/ui-grid

Its not possible to refocus a cell

Open

#4312 aperta il 2 set 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (1 assegnatario)JavaScript (2496 fork)batch import
good first issuegrid-cellNav

Metriche repository

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

Descrizione

When having focus on a cell using cellNav and then focusing let's say an input outside the grid, then it's not possible to focus the same cell again. This results in keyboard nav not working after trying to target that cell again, and the input doesn't blur.

I've made a plunker for convenience: http://plnkr.co/edit/3KJfTXp4daTmr36pJBs9?p=preview

  1. Click any cell.
  2. Click the input above grid.
  3. Click the cell in 1.
  4. Try to navigate with keyboard.
  5. Look at the input and see that it's still focused.

Guida contributor