Results 1 to 4 of 4

Thread: ListView scrolls back to top on selecting bottom items (GXT 2.2.5)...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
      0  

    Default Unanswered: ListView scrolls back to top on selecting bottom items (GXT 2.2.5)...

    I have a ListView with custom template attached to a ContentPanel which has FitLayout. ContentPanel has scrollmode set to autoy. On IE, if user scrolls down on listview and select a bottom item, the scrollbar snaps back to the top, hence user looses the selection. This is a major issue for us and its blocking our release.

    I found a similar issue reported in this link but the posted remedy is not working for us and we are not planning to
    move to GXT 3.0 anytime soon.
    http://www.sencha.com/forum/showthre...-scrolling-bug

    How can I disable the scroll event on select ? Any help is highly appreciated.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    Did you try the workaround Sven posted? Did it work?

    If that doesn't work in your specific case, can you share a sample that describes your situation so a similar workaround can be suggested for you?

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Yes, I tried the workaround sven suggested but didn't work.

    Infact, you can reproduce the same scenario on Sencha's 2.2.6 explorer demo (see link below). Open it on IE9, reduce the browser height until you see the vertical scrollbar in the list view. Now you scroll down and click on one of the bottom list item. The scrollbar will snap back to top.

    http://www.sencha.com/examples-2/#listview

    I have the same issue as you have in your demo.

  4. #4
    Sencha User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Any pointers?

Posting Permissions

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