good first issue
説明
This happens when there are enough rows to warrant vertical scrolling. You can kind of see what's happening better on IE11, but it fails in Chrome too.
http://plnkr.co/edit/H7q2BsQupSBI4Um1BmUt?p=preview
Steps to reproduce:
- Scroll to bottom row.
- Row 3 should be about half visible.
- Double-click the "Gender" column on row 3 to begin editing.
- Row 3 scrolls into view and the editor starts and stops instantly.
- If you haven't manually scrolled, none of the edits for row 3 work until you scroll.
From the debugging I've done, when beginEditAfterScroll() in the uiGridCell directive runs, it sets up the deregOnGridScroll() function. This function is invoked immediately after edit begins so the edit is immediately canceled.
It may be that Grid.prototype.scrollToIfNecessary() is trying to scroll when its not needed.