Results 1 to 9 of 9

Thread: preserveScrollOnRefresh?does not work

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    4

    Default preserveScrollOnRefresh?does not work

    When a 'dataview' view whose config preserveScrollOnRefresh is not set is refreshed, some page do not scroll to top, but some page scroll to top.


    When I use ExtJS4.1, both pages do not scroll to top when it is refreshed.


    I want to prevent from scrolling to top. So I set viewConfig preserveScrollOnRefresh, but does not work.


    Some BBS pages mention about grid, but I can not find about dataview.
    Last edited by taiji; 28 Jan 2016 at 6:01 PM. Reason: use wrong words

  2. #2
    Sencha User jdkhamba's Avatar
    Join Date
    Jul 2012
    Posts
    236
    Answers
    45

    Default

    You are probably talking about preserve scroll on refresh:

    http://docs.sencha.com/extjs/4.1.0/#!/api/Ext.view.View-cfg-preserveScrollOnRefresh

    There doesn't seem to be any config with the name you mentioned.

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    4

    Default

    Thank you.I made a mistake.I changed the word.

  4. #4
    Sencha User jdkhamba's Avatar
    Join Date
    Jul 2012
    Posts
    236
    Answers
    45

    Default

    Please post a fiddle to demonstrate your issue.

    https://fiddle.sencha.com/#home

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Sounds a bit like this issue.
    https://www.sencha.com/forum/showthread.php?269364

    There are a few fixes you could try to confirm if it's the same issue. Otherwise, is your store buffered? It would definitely help if you could please post a test case which recreates this issue.
    https://fiddle.sencha.com/#home

  6. #6
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    4

    Default

    I set here. Please check this.https://fiddle.sencha.com/#fiddle/14qe Open the page, and scroll down, and click 'refresh' button. This button fire 'view.refresh()' function.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Thanks. I added a note to the bug ticket to bump the priority up.

  8. #8
    Sencha User
    Join Date
    Sep 2015
    Posts
    36

    Default

    What's the status of this item? I am experiencing this issue right now with 6.0.2.

  9. #9
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Here's the original test case placed into a Fiddle:
    https://fiddle.sencha.com/#view/editor&fiddle/1u06

    I'm not seeing the issue with 6.0.2. Are you able to reproduce in a test case?
    https://fiddle.sencha.com/#view/editor

Similar Threads

  1. [INFOREQ] jQuery's bind 'click' not work on mobile Safari (but work in ST1)
    By chulochula in forum Sencha Touch 2.x: Bugs
    Replies: 4
    Last Post: 21 Mar 2012, 7:04 PM
  2. Form Json Submit doesn't work but the Load work
    By dieyoudie in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Dec 2007, 2:13 PM
  3. Ext 2.0 - Load store data to form not work in IE6 (FF work fine)
    By ffzhuang in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 6 Oct 2007, 8:17 PM
  4. Ext 2.0 - Load store data to form not work in IE6 (FF work fine)
    By ffzhuang in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 6 Oct 2007, 8:17 PM

Posting Permissions

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