Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: scrollIntoView issue - it modifies the looks of my page on IE

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

    Default 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
    9,388
    Vote Rating
    499
      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
      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
    9,388
    Vote Rating
    499
      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
      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
    9,388
    Vote Rating
    499
      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,607
    Vote Rating
    59
      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,607
    Vote Rating
    59
      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
      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
    18,390
    Vote Rating
    858
      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •