為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Scroll to top when clicking link to internal page not working

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