We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Scroll to top when clicking link to internal page not working

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 GerardoPcp04

more options

Hello! I am developing a static website in this repo: https://gitlab.com/anagolay/website

And I have the following bug: Clicking the other internal page ( 'How it works' ) link while being at the bottom of main page, leads to the bottom of the new page, instead of leading to the top, as expected.

The nav bar contains links to two other internal page and other external links.

Steps to reproduce the bug: Being at the bottom of the 'Home' page - click 'How it works' nav bar link. you will be redirected to the bottom of 'How it works' page.

I tried scrolling different heights, and found that when the initial page scrolling height is higher than the destination page height, this "bug" happens. Since the 'Home' page is larger than 'How it works', clicking Home link being at the bottom of 'How it works' leads to the top of Home page, as expected.

I ask in the Mozilla support because this happens only in Firefox, so I think there may be some browser behavior that I don't know about.

Hello! I am developing a static website in this repo: https://gitlab.com/anagolay/website And I have the following bug: Clicking the other internal page ( 'How it works' ) link while being at the bottom of main page, leads to the bottom of the new page, instead of leading to the top, as expected. The nav bar contains links to two other internal page and other external links. Steps to reproduce the bug: Being at the bottom of the 'Home' page - click 'How it works' nav bar link. you will be redirected to the bottom of 'How it works' page. I tried scrolling different heights, and found that when the initial page scrolling height is higher than the destination page height, this "bug" happens. Since the 'Home' page is larger than 'How it works', clicking Home link being at the bottom of 'How it works' leads to the top of Home page, as expected. I ask in the Mozilla support because this happens only in Firefox, so I think there may be some browser behavior that I don't know about.

所有回复 (1)

more options

Hola, Este es el foro de ayuda en Español, si tu consulta es por un Bug recomiendo buscar el problema similar en, de no existir puede generar el Bug ya que este foro no es atendido por los desarrolladores, en cambio el siguiente si: https://bugzilla.mozilla.org/enter_bug.cgi#h=dupes%7CFirefox

Luego agradeceríamos indicar el numero de bug aquí y cerrar la consulta marcado ese mensaje como solución y continuar el caso en el foro anterior. Gracias