PDA

View Full Version : Ext Js Alternative to document.getElementById(id).scrollIntoView()



asahoo
14 May 2015, 8:50 AM
document.getElementById(id).scrollIntoView(true) - Works perfectly fine in Chrome . However It has issues in IE.

I understand there is a Sencha Method - Ext.dom.element.ScrollIntoView method, but it does not give the same result as dom's ScrollInto View.

So basically is there any way to implement scrollIntoView in Sencha's way (whose behaviour should be exact as dom's scrollIntoView and it should be compatible with all Browser).

Any pointers on this is appriciatable.

Gary Schlosberg
14 May 2015, 2:18 PM
What results are you seeing with IE? Which versions of Ext JS and IE? Sounds a bit like this issue which was resolved in 4.1.2:
https://www.sencha.com/forum/showthread.php?218168