This bug is not found in other versions, refer to the high version code rewrite class to resolve this bug, directly on the code:
1 /**2 * If the list has both a horizontal scroll bar and a vertical scrollbar, when the vertical scroll bar is scrolled to the bottom3 * Click the horizontal scroll bar, scroll bar will automatically scroll to the top4 * 6.2.1 Bug fix5 */6Ext.define (' Override.grid.NavigationModel ', {7Override: ' Ext.grid.NavigationModel ',8 //When the list is clicked9Oncontainermousedown:function(view, mousedownevent) {Ten varme = This, OneContext =NewExt.grid.CellContext (view), A lastfocused, - position; - //executes the same name method of the Ext.grid.NavigationModel parent class the //After you execute this method, if you click on the scroll bar, the value of view.lastfocused will change to ScrollBar - //you can determine whether you clicked on a scroll bar or a list of contents - //This will solve the bug . - Me.callsuper ([view, Mousedownevent]); +lastfocused =view.lastfocused; -Position = (View.actionablemode && view.actionposition) | |lastfocused; + //determines whether the clicked element is a scroll bar, and if so, does nothing A if(!position | | lastfocused = = = ' ScrollBar ')) { at return; - } - - context.setposition (Position.record, position.column); -Mousedownevent.position =context; - Me.attachclosestcell (mousedownevent); in - //If We is not already on that position, set position there. to if(!me.position.isEqual (context)) { +Me.setposition (Context,NULL, mousedownevent); - } the } *});
EXT Js 6.2.1 Classic grid scroll bar bug Solution