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

搜尋 Mozilla 技術支援網站

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

了解更多

Scrolling is not smooth

  • 4 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 premii

more options

This is my HTML5 mobile app.

http://hn.premii.com/


there are couple of issues:

1. Scrolling is not smooth as other browsers (Chrome, Safari or IE10). on firefox, scrolling shutters. How do I make scrolling smooth as other browsers?

2. When you click on links, it shows gray background. How do I disable that?

This is my HTML5 mobile app. http://hn.premii.com/ there are couple of issues: 1. Scrolling is not smooth as other browsers (Chrome, Safari or IE10). on firefox, scrolling shutters. How do I make scrolling smooth as other browsers? 2. When you click on links, it shows gray background. How do I disable that?

所有回覆 (4)

more options

What device are you testing on. Using a Nexus 4 scrolling is smooth to me. Are you creating your own scroll handlers?

Does removing

   .page-home .bd a{
       display:block;
       color:#555; 
       padding:5px 15px
   }

in touch.css stop the highlight? That is the only place in your css that I see grey used.

more options

I am not creating my own scroll handlers. I am using overflow: auto for scrolling. I have Nexus 4 and galaxy s3, and firefox scrolling shutters on both.

Also removing that CSS won't help at all. Color is for text color, and not background color. You can remove tap highlight color in webkit using

  • {
   -webkit-tap-highlight-color: rgba(255, 255, 255, 0);

}

more options

We don't implement a Gecko version of that. I don't have any suggestion on a way to avoid it.

more options

Could you file a bug and fix it?

It is really annoying that it gets highlighted when you scroll, and there is no option to change it.