Results 1 to 3 of 3

Thread: Accordion doLayout is resetting the page scroll position

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default Accordion doLayout is resetting the page scroll position

    Ext version tested:
    • Ext 4.2.2
    Browser versions tested against:
    • IE8
    • IE9
    • FF 22.0
    • Chrome 33.0
    Description:
    • Given an accordion layout that is longer than the screen, when I scroll down and expand or collapse a panel the scroll position on the page is lost. The scroll position jumps to the top of the accordion panel.
    Steps to reproduce the problem:
    The result that was expected:
    • The scroll position should be maintained
    The result that occurs instead:
    • The scroll bar jumps to the top of the accordion
    The only workaround I have found for this is to store the current scroll position in the beforeexpand and beforecollapse handlers for each panel in the accordion. And on the accordion itself call window.scrollTo(0, storedScrollPos) in the afterlayout handler.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

    Thanks for the report this is a known issue. Its Jira id is EXTJSIV-7869.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    3

    Default

    Seems like the same problem we are facing here: http://www.sencha.com/forum/showthre...top-of-pageHas this been fixed yet? Is there a way to follow the status of your JIRA issues?

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
  •