*

rooman

  • ****
  • 231 posts
Problem when refreshing the page
« on: February 13, 2023, 09:59:36 AM »
Hello
When a page is refreshed, the page jumps to the top
Even after the update I was in the middle of the page
When refreshing, the page jumps to the top of the page
This is a problem because you have to go back to the top again
Thanks
https://epsilon.mb-themes.com/
« Last Edit: February 13, 2023, 10:05:28 AM by rooman »

Marked as best answer by frosticek on February 13, 2023, 12:56:34 PM
*

MB Themes

Re: Problem when refreshing the page
« Reply #1 on: February 13, 2023, 10:12:37 AM »
@rooman
It's not bug, but cursor get focused on search input.
You can disable in global.js by removing this piece of code:
Code: [Select]
  // ON HOME PAGE LOAD, FOCUS SEARCH INPUT
  if($('body#home .home-search input[name="sPattern"]').length) {
    $('body#home .home-search input[name="sPattern"]').focus();
  }
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

rooman

  • ****
  • 231 posts
Re: Problem when refreshing the page
« Reply #2 on: February 13, 2023, 11:45:58 AM »
The problem is gone
 :)
« Last Edit: February 13, 2023, 12:14:10 PM by rooman »