Home Forums Air WordPress Theme Portfolio list scroll position error

This topic contains 6 replies, has 2 voices, and was last updated by  SeaTheme 1 week, 1 day ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19170

    ymdesign
    Participant
    Purchased
    Supported

    My website has a list of portfolios on the home and works pages.
    There is a malfunction in this portfolio list and I would like to correct it.

    Malfunction Details :
    Click on a specific portfolio item -> Go to the detail page of the item you clicked -> Press the back key to return to the portfolio list page -> Portfolio list scrolling does not retain last position.(set to any position) The same error occurs on mobile.

    Please let me know what part of the code needs to be fixed.
    Thank you for the quick and accurate response every time.

    #19171

    ymdesign
    Participant
    Purchased
    Supported

    My website url :

    http://ymdesignstudio.com

    #19172

    SeaTheme
    Keymaster
    Purchased
    Supported

    Hi,
    Please try to remove the codes line1994-1998 in /js/custom.theme.js

    window.onpageshow = function(event) {
    	    if (event.persisted) {
    	        window.location.reload() 
    	    }
    	};

    Please clean the mobile browser cache to test.

    Regards!
    SeaTheme – SeaTheme.netTwitterFacebook

    #19174

    ymdesign
    Participant
    Purchased
    Supported

    Thank you for your prompt response.
    But unfortunately,
    I deleted that function but still get the same error. t.t

    /*
    window.onpageshow = function(event) {
    if (event.persisted) {
    window.location.reload()
    }
    };
    */

    #19176

    SeaTheme
    Keymaster
    Purchased
    Supported

    Hi,

    Please make sure to clean the mobile browser cache to test.

    Regards

    #19189

    ymdesign
    Participant
    Purchased
    Supported

    Cleaned up the mobile browser cache and tested it on mobile and found it fixed correctly.

    However, the PC browser still experiences the last position of the scroll not being fixed.

    #19196

    SeaTheme
    Keymaster
    Purchased
    Supported

    Hi, did you clean the browser cache? I tested your website on my browser just now, it worked.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!