-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
In the example given by tutorial 201, there's an issue that last row will lose focus, when clicking the input box in edit mode. It can be reproduced in Chrome & IE, as the procedure below:
- Scroll the grid to very bottom
- Double click on any editable cell, to enter edit mode
- Click anywhere inside the input box again
- Focus will be lost
The root cause of the issue is, commit 91077e8 which fixes #3128 disables scrolling by set grid.disableScrolling
when clicking on input element again (step 3).
- Disables scrolling will cause absence of scroller, which triggers resize of grid viewport.
- Then, a
scroll
event will be triggered by browser, thus triggersscrollBegin
- Event listener on
scrollBegin
(deregOnGridScroll
) will get the event, and callendEdit
to exit edit mode.
Metadata
Metadata
Assignees
Labels
No labels