Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: smooth scrolling,弹性滚动 #27

Open
laosuan opened this issue Apr 5, 2018 · 1 comment
Open

Feat: smooth scrolling,弹性滚动 #27

laosuan opened this issue Apr 5, 2018 · 1 comment
Labels

Comments

@laosuan
Copy link

laosuan commented Apr 5, 2018

感觉电影和图书的左右滑动没有官方的流畅,好奇官方用的什么组件

@jeneser
Copy link
Owner

jeneser commented May 31, 2018

目前左右滑动没有做任何优化,滑动起来感觉生涩,尤其是安卓设备。现有的方案:

  • IOS设备可以使用CSS overflow-scrolling 属性:
-webkit-overflow-scrolling: touch
  • 第三方库,iscrollswiper

  • 自造轮子,模拟滚动效果。

如果你有更好的方案或为此PR我将非常欢迎!

Thanks.

@jeneser jeneser changed the title 大神看过来 Feat: smooth scrolling,弹性滚动 May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants