Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6520 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    georgehdd is on a distinguished road

      0  

    Default 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



  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    georgehdd is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    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.
    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

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    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.

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    georgehdd is on a distinguished road

      0  

    Default


    Sure - here's the URL of the capture:
    https://dl.dropbox.com/u/6583757/defect.swf

    Thanks,
    George

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Confirmed. Moved to bugs and reported. Tracking ID at top of post.

    Scott.

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Sigh.... Yet another IE bug to add a workaround for.

  8. #8
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    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?

  9. #9
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    georgehdd is on a distinguished road

      0  

    Default


    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.

  10. #10
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,647
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!