Code Monkey home page Code Monkey logo

Comments (3)

alanchenchen avatar alanchenchen commented on June 6, 2024

emmmmm,是不是你在scroller里写了太多内容啊,或者是事件重叠了,这个插件已经用了css3的transform的硬件加速了。在低端机上,如果你不使用太多的嵌套scroller应该不会太卡。。。我之前项目实测过。

from v-scroller.

elegy7 avatar elegy7 commented on June 6, 2024

并不是动画不流畅, 而是, 手指滑动的时候, 松开后的惯性滚动不自然, 有时候会骤然停止, 另外最近的1.2.5的版本感觉样式有点乱..

from v-scroller.

alanchenchen avatar alanchenchen commented on June 6, 2024

首先,这个插件的惯性滚动是通过transition实现的,不是用运动函数,所以运动做不到那么自然,另外,样式没问题啊,你得注意把所有reset的样式去除掉margin和padding,手机浏览器默认也会让document存在滚动条,建议禁止掉document滚动条,这样才能最大程度模拟出app的体验

from v-scroller.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.