angular-ui/ui-grid

Annoying page scroll when using the grid

Open

#4.528 geöffnet am 16. Okt. 2015

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
grid-cellNavhelp wanted

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hey,

I don't know what feature is causing this issue, but I suspect it's the cell navigation. Note that I'm talking about PAGE scroll, not grid scroll.

I also have cell edit enabled. This means that when I double click a cell, the editing mode stats, but because of this issue it starts editing an entirely different row which is very annoying.

The issue can be reproduced (newest Chrome version) on the grid in this tutorial: http://ui-grid.info/docs/#/tutorial/202_cellnav

When you double click a field in the grid, the page scrolls down, selecting the field or a different row. This does not seem to always happen, but often.

Is there a way to prevent the annoying PAGE scroll?

Thanks!

Contributor Guide