Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
XElement's scrollIntoView() method scrolls to a wrong place in TreeGrid.
Version(s) of Ext GWT
3.1.4 (I believe it exists on all 3.1 implementation actually, but 3.1.4 for sure)
Browser versions and OS
(and desktop environment, if applicable)
- Win 7 64bit
- Chrome 45, IE 11
- Firefox 24
Description
After calling xelement.scrollIntoView(), it scrolled to a wrong place, which is several tuples above the element.
Run mode
development mode, super development mode
Steps to reproduce the problem- Generate a TreeGrid, with some of the node contains children.
- run the following code:
Element elem = tg.getView().getRow(tuple);
TreeNode node = tg.findNode(elem);
XElement xelm = tg.getTreeView().getElement(node);
xelm.scrollIntoView();
Expected result
tuple should be displayed in the table
Actual result
scrolled to a wrong place