搜尋 Mozilla 技術支援網站

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

了解更多

Text from sticky button at the end of the page disappears when I click it

  • 3 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 Paul

more options

Hi, I have a website that has a sticky button at the end of the page - as you can imagine I am using `position: fixed` and `bottom: 0` to set it there - Testing my site on Mozilla for android I discovered that when I click this button the text within it disappears but it only happens if there is more content and you scroll the page until the end, then If I scroll the content up a bit the text appears.

I recorded a video where you can see the issue: https://youtu.be/2rz-AjRtp9M

here the code sandbox with the code you see in the video: https://codesandbox.io/s/quirky-carson-5ksot

Hi, I have a website that has a sticky button at the end of the page - as you can imagine I am using `position: fixed` and `bottom: 0` to set it there - Testing my site on Mozilla for android I discovered that when I click this button the text within it disappears but it only happens if there is more content and you scroll the page until the end, then If I scroll the content up a bit the text appears. I recorded a video where you can see the issue: https://youtu.be/2rz-AjRtp9M here the code sandbox with the code you see in the video: https://codesandbox.io/s/quirky-carson-5ksot

由 chory521 於 修改

所有回覆 (3)

more options

Hi

Are you able to share the URL for the website?

more options

sadly I cannot, but go to https://5ksot.csb.app/ the sticky button code that is there, is the same I have on my website

more options

Hi

This looks to me more like a web development question than an issue with Firefox for Android. I recommend that you ask at https://stackoverflow.com/.