-
11 Jun 2012 3:48 AM #1
scrollIntoView issue - it modifies the looks of my page on IE
scrollIntoView issue - it modifies the looks of my page on IE
Hi,
I'm trying to use scrollIntoView method with Ext JS 4 and for some it changes the look of my site instead of actually scrolling.
To reproduce the issue simply navigate to:
http://dev.sencha.com/deploy/ext-4.1...enu/menus.html
Open the Developer Tools (F12) and run the following line in the Script Console:
document.getElementById("button-1047-btnInnerEl").scrollIntoView(true);
What this should do is scroll the "Toggle Me" button into view. What it actually does is move the toolbar to the left causing some buttons to disappear.
This issue is reproduced on both IE8 & IE9 while on Chrome & Firefox it works flawlessly.
Do you happen to have a solution / work around for this ?
Thanks in advance,
George
-
11 Jun 2012 9:08 AM #2
This is working as expected in IE9
-Loaded example
-Open DT (F12)
-Scrolled menu out of site
-executed console command
Button visible in view at top of screen.
Scott.
-
11 Jun 2012 9:29 PM #3
Thanks for your reply.
Yes the button ('Toggle Me') is visible but all the buttons to its left disappear. You don't have to scroll the menu out of site for that - they disappear also when the window is maximized and the 'Toggle Me' button is in visible in the window.
Anyone has a suggestion ?
Thanks,
George
-
12 Jun 2012 7:23 AM #4
Can you provide a small video using Jing to demonstrate what is happening? Since I cannot duplicate this problem, I am unable to move forward.
Scott.
-
12 Jun 2012 9:36 PM #5
-
13 Jun 2012 12:10 PM #6
Confirmed. Moved to bugs and reported. Tracking ID at top of post.
Scott.
-
13 Jun 2012 9:48 PM #7







Sigh.... Yet another IE bug to add a workaround for.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
13 Jun 2012 9:50 PM #8
I actually don't know how it's possible for us to fix it for you.
You are using a native browser method which causes the browser to do something undesired.
How can the framework help with that?Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
13 Jun 2012 10:17 PM #9
I know this is an IE issue (it's pretty obvious since that it doesn't reproduce in FF / Chrome). But the framework could implement some sort of work around for this
at least I'm hoping it will.
Thanks for your help by the way.
-
13 Jun 2012 10:20 PM #10Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-6520
in
4.1.2 Sprint 1.


Reply With Quote
