• Hi, I found this plugin very useful. I’ve customised it to suit my needs, but I’ve found a bug.

    It’s strange, but when loading any page that includes the shortcode [what-if-bitcoin], it automatically scrolls down to the section containing the shortcode. That is, instead of loading the page and staying in the header, it automatically scrolls down without user interaction, until it is positioned over the shortcode.

    I don’t know if you still maintain this plugin, but it would be great if you could fix this bug.

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter SottoVoce

    (@sottovoce)

    Well, I have found where the problem lies. I’m leaving it here in case others might find it useful and in case you want to fix it in a future update.

    The file wp-content/plugins/what-if-bitcoin/functions/generate_form.php has “autofocus” set in the input form, so the browser automatically scrolls down to where the plugin input form is located.

    I have edited the file manually to remove the autofocus, but it will be overwritten when updating the plugin. It would be great if you could fix it.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Auto scroll down on page load’ is closed to new replies.