angular-ui/ui-grid

If we have a single digit page number displayed, then we can't use backspace key for removing the page number to enter a new one. There cannot be a state where we have an empty page number box.

Open

#4.594 geöffnet am 29. Okt. 2015

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issue

Repository-Metriken

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

Beschreibung

The major problem here is that suppose we are at page 32 and we press backspace, then '2' is removed from '32' and page 3 is displayed. Now if we again press backspace then we are navigated to page '1' and '1' is displayed in the page number box. Now if we want to see page '9' then we will have to select '1' present in the page number box using shift key or using mouse and replace it with '9'. Backspace key is non-active here. Ideal way should be that if we press backspace then the page should not change and the page number box should become empty so that user can type any other page number.

Current functioning: initial

Expected functioning: expected

I have made the solution for it and will be submitting the pull request soon. Please review the issue.

Contributor Guide