搜索 | 用户支持

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

详细了解

Scrolling is not smooth

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.